mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user