mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-17 20:11:17 +00:00
Update npm_setup.sh
This commit is contained in:
parent
16c09336d2
commit
9b88ec6462
@ -23,17 +23,15 @@ function msg() {
|
|||||||
local TEXT="$1"
|
local TEXT="$1"
|
||||||
echo -e "$TEXT"
|
echo -e "$TEXT"
|
||||||
}
|
}
|
||||||
|
echo -e "${CHECKMARK} \e[1;92m Setting up Container OS... \e[0m"
|
||||||
|
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
|
||||||
|
locale-gen >/dev/null
|
||||||
|
sleep 3
|
||||||
while [ "$(hostname -I)" = "" ]; do
|
while [ "$(hostname -I)" = "" ]; do
|
||||||
echo -e "${CROSS} \e[1;31m No network: \e[0m $(date)"
|
echo -e "${CROSS} \e[1;31m No network: \e[0m $(date)"
|
||||||
sleep 3
|
sleep 3
|
||||||
done
|
done
|
||||||
|
echo -e "${CHECKMARK} \e[1;92m Network connected: \e[0m $(hostname -I)"
|
||||||
echo -e "${CHECKMARK} \e[1;92m Network connected: \e[0m ($(hostname -I))"
|
|
||||||
|
|
||||||
echo -e "${CHECKMARK} \e[1;92m Setting up Container OS... \e[0m"
|
|
||||||
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
|
|
||||||
locale-gen >/dev/null
|
|
||||||
|
|
||||||
echo -e "${CHECKMARK} \e[1;92m Updating Container OS... \e[0m"
|
echo -e "${CHECKMARK} \e[1;92m Updating Container OS... \e[0m"
|
||||||
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
Block a user