mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-12 11:25:02 +02:00
Update debian11_setup.sh
This commit is contained in:
parent
531814eef0
commit
c7c9e6a182
@ -41,16 +41,6 @@ apt-get -qqy install \
|
||||
curl \
|
||||
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
|
||||
msg "Customizing container..."
|
||||
rm /etc/motd # Remove message of the day after login
|
||||
@ -66,11 +56,6 @@ EOF
|
||||
systemctl daemon-reload
|
||||
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
|
||||
msg "Cleanup..."
|
||||
rm -rf /debian11_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
|
||||
|
Loading…
Reference in New Issue
Block a user