summaryrefslogtreecommitdiff
path: root/scripts/custom.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/custom.sh')
-rw-r--r--scripts/custom.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/custom.sh b/scripts/custom.sh
index 7a0a54f..e141f39 100644
--- a/scripts/custom.sh
+++ b/scripts/custom.sh
@@ -5,7 +5,12 @@ sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_c
# install additional packages
# openssl is needed to set root pw later
-apt-get -y install puppet lsb-release facter rsync curl openssl bash-completion wget
+apt-get -y install leap-archive-keyring puppet lsb-release facter rsync curl openssl bash-completion wget sudo
+
+# Don't use client locales
+# https://stackoverflow.com/questions/29609371/how-do-not-pass-locale-through-ssh
+sed 's/^AcceptEnv.*//' /etc/ssh/sshd_config
+
# Set root pw
usermod -p "$(echo vagrant | openssl passwd -1 -stdin)" root