summaryrefslogtreecommitdiffstats
path: root/satellit_installer/includes/10-script_dropper.inc
diff options
context:
space:
mode:
authorSimon Rettberg2014-10-19 20:37:55 +0200
committerSimon Rettberg2014-10-19 20:37:55 +0200
commitfdc0eb30101d1505ac5ce674a18a14869f3105d0 (patch)
treed46ec0a9488ba6524acc8bdbcf7ed0d0f8735063 /satellit_installer/includes/10-script_dropper.inc
parent[SSPS] Also generating an sshd host ecdsa key (diff)
downloadsetup-scripts-fdc0eb30101d1505ac5ce674a18a14869f3105d0.tar.gz
setup-scripts-fdc0eb30101d1505ac5ce674a18a14869f3105d0.tar.xz
setup-scripts-fdc0eb30101d1505ac5ce674a18a14869f3105d0.zip
Add apt config for unattended upgrades, refactor global variables a bit
Diffstat (limited to 'satellit_installer/includes/10-script_dropper.inc')
-rw-r--r--satellit_installer/includes/10-script_dropper.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/satellit_installer/includes/10-script_dropper.inc b/satellit_installer/includes/10-script_dropper.inc
index b43b563..578415d 100644
--- a/satellit_installer/includes/10-script_dropper.inc
+++ b/satellit_installer/includes/10-script_dropper.inc
@@ -89,7 +89,7 @@ drop_script() {
sed -i "s/%MYSQL_BWLEHRPOOL_PASS%/\$MYSQL_BWLEHRPOOL_NEW/g" /srv/openslx/www/vmchooser/list.php
# Patching openslx-mysql-userpass into slx-admin config:
- sed -i "s/%MYSQL_OPENSLX_PASS%/\$MYSQL_OPENSLX_NEW/g" "$OPENSLXSRVDIR/www/slx-admin/config.php"
+ sed -i "s/%MYSQL_OPENSLX_PASS%/\$MYSQL_OPENSLX_NEW/g" "$WWWDIR/slx-admin/config.php"
# Patching debian-sys-maint password into /etc/mysql/debian.cnf:
sed -i "s/password = .*/password = \$MYSQL_SYSMAINT_NEW/g" "/etc/mysql/debian.cnf"