summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-01-18 09:45:02 +0100
committervarac <varacanero@zeromail.org>2016-01-18 09:45:02 +0100
commit78a070b4126b063784f0e05ae26cff86aeced805 (patch)
treea00411b7664ae154d22346ae907652572f61d8b4 /scripts
parentb22872abee3a93e94a3a0d114461aa711b201284 (diff)
install openssl to set root pw
Diffstat (limited to 'scripts')
-rw-r--r--scripts/custom.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/custom.sh b/scripts/custom.sh
index 3f05ad4..99037b5 100644
--- a/scripts/custom.sh
+++ b/scripts/custom.sh
@@ -3,8 +3,9 @@
# Allow root login
sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config
+# install additional packages
+# openssl is needed to set root pw later
+apt-get -y install puppet lsb-release facter rsync curl openssl
+
# Set root pw
usermod -p "$(echo vagrant | openssl passwd -1 -stdin)" root
-
-# install additional packages
-apt-get -y install puppet lsb-release facter rsync curl