Update debian11_setup.sh

This commit is contained in:
tteckster 2021-10-23 22:52:28 -04:00 committed by GitHub
parent 531814eef0
commit c7c9e6a182
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 15 deletions

View File

@ -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/*