msg_custom
This commit is contained in:
parent
860f4f3871
commit
19da53f77d
@ -320,8 +320,6 @@ msg_custom() {
|
|||||||
local color="$2"
|
local color="$2"
|
||||||
local msg="$3"
|
local msg="$3"
|
||||||
[ -z "$msg" ] && return
|
[ -z "$msg" ] && return
|
||||||
|
|
||||||
stop_spinner
|
|
||||||
printf "\r\e[2K%s %b\n" "$symbol" "${color}${msg}${CL}" >&2
|
printf "\r\e[2K%s %b\n" "$symbol" "${color}${msg}${CL}" >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -85,8 +85,8 @@ setting_up_container() {
|
|||||||
fi
|
fi
|
||||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||||
systemctl disable -q --now systemd-networkd-wait-online.service
|
systemctl disable -q --now systemd-networkd-wait-online.service
|
||||||
msg_ok "Set up Container OS\n Network Connected: ${BL}$(hostname -I)"
|
msg_ok "Set up Container OS"
|
||||||
#msg_ok "Network Connected: ${BL}$(hostname -I)"
|
msg_custom "${CM}" "${GN}" "Network Connected: ${BL}$(hostname -I)"
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function checks the network connection by pinging a known IP address and prompts the user to continue if the internet is not connected
|
# This function checks the network connection by pinging a known IP address and prompts the user to continue if the internet is not connected
|
||||||
|
Loading…
x
Reference in New Issue
Block a user