Update npm_setup.sh

pull/23/head
tteckster 3 years ago committed by GitHub
parent 2665342593
commit 5520c29a01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,6 +23,13 @@ function msg() {
echo -e "$TEXT" echo -e "$TEXT"
} }
while [ "$(hostname -I)" = "" ]; do
echo -e "No network: $(date)"
sleep 1
done
echo -e "Network connected: ($(hostname -I)) \e[0m"
echo -e "${CHECKMARK} \e[1;92m Setting up Container OS... \e[0m" echo -e "${CHECKMARK} \e[1;92m Setting up Container OS... \e[0m"
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
locale-gen >/dev/null locale-gen >/dev/null
@ -33,8 +40,7 @@ apt-get -qqy upgrade &>/dev/null
echo -e "${CHECKMARK} \e[1;92m Installing Dependencies... \e[0m" echo -e "${CHECKMARK} \e[1;92m Installing Dependencies... \e[0m"
echo "fs.file-max = 65535" > /etc/sysctl.conf echo "fs.file-max = 65535" > /etc/sysctl.conf
apt update &>/dev/null apt-get update &>/dev/null
sleep 3
apt-get -qqy install \ apt-get -qqy install \
sudo \ sudo \
curl \ curl \

Loading…
Cancel
Save

Powered by BW's shoe-string budget.