From 973693351f33e072d3bec6b83feb7a0a3eadf3dc Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 6 Feb 2022 04:58:13 -0500 Subject: [PATCH] Update ubuntu_setup.sh --- setup/ubuntu_setup.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/setup/ubuntu_setup.sh b/setup/ubuntu_setup.sh index 9829ceb6..58b67c7f 100644 --- a/setup/ubuntu_setup.sh +++ b/setup/ubuntu_setup.sh @@ -51,6 +51,14 @@ apt-get -qqy install \ curl \ sudo &>/dev/null +DOCKER_CONFIG_PATH='/etc/docker/daemon.json' +mkdir -p $(dirname $DOCKER_CONFIG_PATH) +cat >$DOCKER_CONFIG_PATH <<'EOF' +{ + "log-driver": "journald" +} +EOF + echo -e "${CHECKMARK} \e[1;92m Customizing LXC... \e[0m" chmod -x /etc/update-motd.d/* touch ~/.hushlogin