From 602f9a306656f09eab2372bdee473c0e54e1294e Mon Sep 17 00:00:00 2001 From: kwadronaut Date: Fri, 5 Feb 2016 00:37:08 +0100 Subject: remove openssl as requirement, use chpasswd for root --- scripts/custom.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/custom.sh b/scripts/custom.sh index 99037b5..3058aa4 100644 --- a/scripts/custom.sh +++ b/scripts/custom.sh @@ -4,8 +4,7 @@ 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 +apt-get -y install puppet lsb-release facter rsync curl # Set root pw -usermod -p "$(echo vagrant | openssl passwd -1 -stdin)" root +echo 'root:vagrant' | chpasswd -- cgit v1.2.3