mirror of https://github.com/tteck/Proxmox.git
Remove Internet Check
This commit is contained in:
parent
4e4d64c100
commit
d696833540
|
@ -54,12 +54,6 @@ done
|
||||||
msg_ok "Setup Container OS"
|
msg_ok "Setup Container OS"
|
||||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
|
msg_ok "Network Connected: ${BL}$(hostname -I)"
|
||||||
|
|
||||||
if : >/dev/tcp/8.8.8.8/53; then
|
|
||||||
msg_ok "Internet Online"
|
|
||||||
else
|
|
||||||
echo -e "${BFR} ${CROSS}${RD} Internet Offline"
|
|
||||||
fi
|
|
||||||
|
|
||||||
msg_info "Updating Container OS"
|
msg_info "Updating Container OS"
|
||||||
apt update &>/dev/null
|
apt update &>/dev/null
|
||||||
apt-get -qqy upgrade &>/dev/null
|
apt-get -qqy upgrade &>/dev/null
|
||||||
|
|
Loading…
Reference in New Issue