mirror of https://github.com/tteck/Proxmox.git
Update debian11_setup.sh
This commit is contained in:
parent
531814eef0
commit
c7c9e6a182
|
@ -41,16 +41,6 @@ apt-get -qqy install \
|
||||||
curl \
|
curl \
|
||||||
sudo &>/dev/null
|
sudo &>/dev/null
|
||||||
|
|
||||||
# Customize Docker configuration
|
|
||||||
# msg "Customizing Docker..."
|
|
||||||
#DOCKER_CONFIG_PATH='/etc/docker/daemon.json'
|
|
||||||
#mkdir -p $(dirname $DOCKER_CONFIG_PATH)
|
|
||||||
#cat >$DOCKER_CONFIG_PATH <<'EOF'
|
|
||||||
#{
|
|
||||||
# "log-driver": "journald"
|
|
||||||
#}
|
|
||||||
#EOF
|
|
||||||
|
|
||||||
# Customize container
|
# Customize container
|
||||||
msg "Customizing container..."
|
msg "Customizing container..."
|
||||||
rm /etc/motd # Remove message of the day after login
|
rm /etc/motd # Remove message of the day after login
|
||||||
|
@ -66,11 +56,6 @@ EOF
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
|
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
|
||||||
|
|
||||||
# Update container OS
|
|
||||||
msg "Updating container OS..."
|
|
||||||
apt-get update >/dev/null
|
|
||||||
apt-get upgrade &>/dev/null
|
|
||||||
|
|
||||||
# Cleanup container
|
# Cleanup container
|
||||||
msg "Cleanup..."
|
msg "Cleanup..."
|
||||||
rm -rf /debian11_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
|
rm -rf /debian11_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
|
||||||
|
|
Loading…
Reference in New Issue