mirror of https://github.com/zulip/zulip.git
bootstrap-aws-installer: Leave `ubuntu` user deletion until the last.
This makes it easier to log in and figure out what went wrong if something failed during the bootstrapping process.
This commit is contained in:
parent
f9b7b8e5d9
commit
f5d4dea2f0
|
@ -21,9 +21,6 @@ echo "$HOSTNAME" >/etc/hostname
|
|||
hostname "$HOSTNAME"
|
||||
sed -i "s/localhost$/localhost $HOSTNAME $SERVER/" /etc/hosts
|
||||
|
||||
# Delete the ubuntu user
|
||||
userdel ubuntu
|
||||
|
||||
# Make sure root doesn't have a password
|
||||
passwd -d root
|
||||
|
||||
|
@ -96,4 +93,7 @@ git -C zulip checkout "$BRANCH"
|
|||
|
||||
install_keys zulip
|
||||
|
||||
# Delete the ubuntu user
|
||||
userdel ubuntu
|
||||
|
||||
reboot
|
||||
|
|
Loading…
Reference in New Issue