Bozhidar Slaveykov 1 rok temu
rodzic
commit
2b58dc8c8d

+ 3 - 0
installers/Ubuntu/22.04/install.sh

@@ -12,6 +12,9 @@ HELPERS_DIR=$MAIN_DIR"/shell/helpers/ubuntu"
 . $HELPERS_DIR"/common.sh"
 . $HELPERS_DIR"/common.sh"
 . $HELPERS_DIR"/create-mysql-db-and-user.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
 # Update the system
 apt update -y
 apt update -y
 
 

+ 1 - 1
installers/helpers/create-web-user.sh → installers/helpers/ubuntu/create-web-user.sh

@@ -1,6 +1,6 @@
 # Generate a random password
 # Generate a random password
 random_password="$(openssl rand -base64 32)"
 random_password="$(openssl rand -base64 32)"
-email="email1@phyrepanel.com"
+email="admin@phyrepanel.com"
 
 
 # Create the new phyreweb user
 # Create the new phyreweb user
 /usr/sbin/useradd "phyreweb" -c "$email" --no-create-home
 /usr/sbin/useradd "phyreweb" -c "$email" --no-create-home

+ 0 - 0
installers/helpers/sudo/phyreweb → installers/helpers/ubuntu/sudo/phyreweb