installer: remove user creation, already in init-ubuntu script

This commit is contained in:
Girish Ramakrishnan
2023-05-15 21:10:29 +02:00
parent db1fa84936
commit 39d45b71d7

View File

@@ -163,15 +163,6 @@ for image in ${images}; do
done
done
log "creating cloudron-support user"
if ! id cloudron-support 2>/dev/null; then
useradd --system --comment "Cloudron Support (support@cloudron.io)" --create-home --no-user-group --shell /bin/bash cloudron-support
fi
log "locking the ${user} account"
usermod --shell /usr/sbin/nologin "${user}"
passwd --lock "${user}"
if [[ "${is_update}" == "yes" ]]; then
log "stop box service for update"
${box_src_dir}/setup/stop.sh