mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-30 10:24:33 +01:00
Update node-red_setup.sh
This commit is contained in:
parent
8e962f83a2
commit
dab8a7388d
@ -40,9 +40,9 @@ echo -e "${CHECKMARK} \e[1;92m Installing Node-Red... \e[0m"
|
|||||||
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) --confirm-root --confirm-install --skip-pi
|
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) --confirm-root --confirm-install --skip-pi
|
||||||
|
|
||||||
echo -e "${CHECKMARK} \e[1;92m Customizing Container... \e[0m"
|
echo -e "${CHECKMARK} \e[1;92m Customizing Container... \e[0m"
|
||||||
rm /etc/motd # Remove message of the day after login
|
rm /etc/motd
|
||||||
rm /etc/update-motd.d/10-uname # Remove kernel information after login
|
rm /etc/update-motd.d/10-uname
|
||||||
touch ~/.hushlogin # Remove 'Last login: ' and mail notification after login
|
touch ~/.hushlogin
|
||||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||||
mkdir -p $(dirname $GETTY_OVERRIDE)
|
mkdir -p $(dirname $GETTY_OVERRIDE)
|
||||||
cat << EOF > $GETTY_OVERRIDE
|
cat << EOF > $GETTY_OVERRIDE
|
||||||
|
Loading…
Reference in New Issue
Block a user