msg_custom
This commit is contained in:
parent
860f4f3871
commit
19da53f77d
@ -320,8 +320,6 @@ msg_custom() {
|
||||
local color="$2"
|
||||
local msg="$3"
|
||||
[ -z "$msg" ] && return
|
||||
|
||||
stop_spinner
|
||||
printf "\r\e[2K%s %b\n" "$symbol" "${color}${msg}${CL}" >&2
|
||||
}
|
||||
|
||||
|
@ -85,8 +85,8 @@ setting_up_container() {
|
||||
fi
|
||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||
systemctl disable -q --now systemd-networkd-wait-online.service
|
||||
msg_ok "Set up Container OS\n Network Connected: ${BL}$(hostname -I)"
|
||||
#msg_ok "Network Connected: ${BL}$(hostname -I)"
|
||||
msg_ok "Set up Container OS"
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user