update
This commit is contained in:
parent
96dd771892
commit
2b58dc8c8d
3 changed files with 4 additions and 1 deletions
|
@ -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,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
|
Loading…
Reference in a new issue