Delete root's password in install-server if set.

Digital Ocean emails you the VM's password in plain text. We shouldn't
have this work for longer than we have to.

(imported from commit 2310cac9a9aa085149b9438941ecb0a5f703c128)
This commit is contained in:
Luke Faraone 2013-07-24 16:17:09 -04:00 committed by Luke Faraone
parent 53f62bd71c
commit 04174d8d93
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ ssh $SSH_OPTS "$server" -t -i "$amazon_key_file" -lroot <<EOF
cp -a /root/humbug/servers/puppet/modules/zulip/files/puppet.conf /etc/puppet/ cp -a /root/humbug/servers/puppet/modules/zulip/files/puppet.conf /etc/puppet/
userdel admin userdel admin
passwd -d root
puppet apply -e 'class {"zulip": machinetype => "$type"}' puppet apply -e 'class {"zulip": machinetype => "$type"}'
cp -a /root/humbug /home/humbug/humbug cp -a /root/humbug /home/humbug/humbug
chown -R humbug:humbug /home/humbug/humbug chown -R humbug:humbug /home/humbug/humbug