From 2b58dc8c8dbed819d390e72eb17810233e3fdf10 Mon Sep 17 00:00:00 2001 From: Bozhidar Slaveykov Date: Sun, 26 Nov 2023 02:06:44 +0200 Subject: [PATCH] update --- installers/Ubuntu/22.04/install.sh | 3 +++ installers/helpers/{ => ubuntu}/create-web-user.sh | 2 +- installers/helpers/{ => ubuntu}/sudo/phyreweb | 0 3 files changed, 4 insertions(+), 1 deletion(-) rename installers/helpers/{ => ubuntu}/create-web-user.sh (92%) rename installers/helpers/{ => ubuntu}/sudo/phyreweb (100%) diff --git a/installers/Ubuntu/22.04/install.sh b/installers/Ubuntu/22.04/install.sh index 4ac7531..d64931c 100644 --- a/installers/Ubuntu/22.04/install.sh +++ b/installers/Ubuntu/22.04/install.sh @@ -12,6 +12,9 @@ HELPERS_DIR=$MAIN_DIR"/shell/helpers/ubuntu" . $HELPERS_DIR"/common.sh" . $HELPERS_DIR"/create-mysql-db-and-user.sh" +INSTALLATION_HELPERS_DIR=$MAIN_DIR"/installers/helpers/ubuntu" +$INSTALLATION_HELPERS_DIR"/create-web-user.sh" + # Update the system apt update -y diff --git a/installers/helpers/create-web-user.sh b/installers/helpers/ubuntu/create-web-user.sh similarity index 92% rename from installers/helpers/create-web-user.sh rename to installers/helpers/ubuntu/create-web-user.sh index 63ee56f..c339d28 100644 --- a/installers/helpers/create-web-user.sh +++ b/installers/helpers/ubuntu/create-web-user.sh @@ -1,6 +1,6 @@ # Generate a random password random_password="$(openssl rand -base64 32)" -email="email1@phyrepanel.com" +email="admin@phyrepanel.com" # Create the new phyreweb user /usr/sbin/useradd "phyreweb" -c "$email" --no-create-home diff --git a/installers/helpers/sudo/phyreweb b/installers/helpers/ubuntu/sudo/phyreweb similarity index 100% rename from installers/helpers/sudo/phyreweb rename to installers/helpers/ubuntu/sudo/phyreweb