aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL/common.d/10_base
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALL/common.d/10_base')
-rw-r--r--INSTALL/common.d/10_base8
1 files changed, 6 insertions, 2 deletions
diff --git a/INSTALL/common.d/10_base b/INSTALL/common.d/10_base
index feb2ec9..a1e32c2 100644
--- a/INSTALL/common.d/10_base
+++ b/INSTALL/common.d/10_base
@@ -22,7 +22,7 @@ apt-get update -y
apt-get dist-upgrade -y
apt-get install -y passwd sudo openssh-server openssh-client vim systemd logrotate ifupdown locales
-apt-get remove -y exim4 exim4-base exim4-config exim4-daemon-light
+apt-get remove -y exim4 exim4-base exim4-config exim4-daemon-light
apt-get autoremove -y
# remove some useless systemd services
@@ -33,6 +33,10 @@ for sysdir in /lib/systemd /etc/systemd; do
done
rm -f /lib/systemd/system/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount
+# allow to use systemd as user (systemd --user)
+apt-get install -y libpam-systemd
+
+
cp $INSTDIR/config/bashrc /etc/skel/.bash_aliases # sourced by .bashrc for new users
cp $INSTDIR/config/sudo_devel /etc/sudoers.d/sudo_devel # Allow sudo without password
@@ -77,7 +81,7 @@ echo "tmpfs /tmp tmpfs noatime,size=50% 0 0" >>/etc/fstab
# fix sshd issues with X11 forwarding (may happen if IPv6 is in use)
cat <<EOF >>/etc/ssh/sshd_config
-# configuration options added from docker-worker-generator (script $BASH_SOURCE)
+# configuration options added from docker-worker-generator (script $BASH_SOURCE)
AddressFamily inet
EOF