diff options
author | Christian Rößler | 2019-10-29 16:02:34 +0100 |
---|---|---|
committer | Christian Rößler | 2019-10-29 16:02:34 +0100 |
commit | 6707db40319fb8c10ce8cc881a91d3320103c88d (patch) | |
tree | f363fb9120aa37a2e5ad2de86c6decd8cbc67265 /satellit_installer/includes/10-password_helper.inc | |
parent | [SSPS] Patch ipxe config to meet our requirements (diff) | |
download | setup-scripts-6707db40319fb8c10ce8cc881a91d3320103c88d.tar.gz setup-scripts-6707db40319fb8c10ce8cc881a91d3320103c88d.tar.xz setup-scripts-6707db40319fb8c10ce8cc881a91d3320103c88d.zip |
[SSPS] mysql has no root passwd anymore, pump not avaliable anymore
Diffstat (limited to 'satellit_installer/includes/10-password_helper.inc')
-rw-r--r-- | satellit_installer/includes/10-password_helper.inc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/satellit_installer/includes/10-password_helper.inc b/satellit_installer/includes/10-password_helper.inc index 30eece9..0f52185 100644 --- a/satellit_installer/includes/10-password_helper.inc +++ b/satellit_installer/includes/10-password_helper.inc @@ -1,4 +1,3 @@ - generate_password() { local password="$(< /dev/urandom tr -dc A-Za-z0-9_ | head -c${1:-16};)" echo "$password" @@ -9,7 +8,6 @@ generate_password() { set_passwords() { echo -n "# Setting passwords..." OPENSLX_PASS="$(generate_password)" - MYSQL_ROOT_PASS="$(generate_password)" MYSQL_OPENSLX_PASS="$(generate_password)" MYSQL_SAT_PASS="$(generate_password)" @@ -18,7 +16,6 @@ set_passwords() { # If you need the permanently valid password, you will need to # decrypt static_files/new_passwords.encrypted. echo "OPENSLX_PASS=$OPENSLX_PASS" > "$CONFIGDIR"/config - echo "MYSQL_ROOT_PASS=$MYSQL_ROOT_PASS" >> "$CONFIGDIR"/config echo "MYSQL_OPENSLX_PASS=$MYSQL_OPENSLX_PASS" >> "$CONFIGDIR"/config echo "MYSQL_SAT_PASS=$MYSQL_SAT_PASS" >> "$CONFIGDIR"/config echo "ok." |