feat: Add function to show default live OS credentials
This commit is contained in:
parent
bea27b1ffa
commit
f5d87cf419
8
quickget
8
quickget
|
@ -27,6 +27,14 @@ function cleanup() {
|
||||||
fi
|
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
|
if [ "${1}" == '--test-iso-url' ] || [ "${1}" == '-t' ]; then
|
||||||
test_iso_url="on"
|
test_iso_url="on"
|
||||||
if [ -n "$4" ]; then
|
if [ -n "$4" ]; then
|
||||||
|
|
Loading…
Reference in New Issue