From f5d87cf419c8b89721eaede441e201a342f21ac3 Mon Sep 17 00:00:00 2001 From: zen0bit Date: Fri, 12 Apr 2024 18:02:13 +0200 Subject: [PATCH] feat: Add function to show default live OS credentials --- quickget | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/quickget b/quickget index cc5b987..37275b3 100755 --- a/quickget +++ b/quickget @@ -27,6 +27,14 @@ function cleanup() { fi } +function os_credentials() { + local SIMPLE_NAME="" + local CREDE="" + SIMPLE_NAME="${1}" + CREDE=$(os_info "${SIMPLE_NAME}" | cut -d'|' -f3) + echo "${CREDE}" +} + if [ "${1}" == '--test-iso-url' ] || [ "${1}" == '-t' ]; then test_iso_url="on" if [ -n "$4" ]; then