Corrige sustitución de variable de entorno

This commit is contained in:
carlosv 2022-12-08 23:00:53 +00:00
parent 428a8ee698
commit d14423aac4

View File

@ -8,7 +8,7 @@
# sets all passwords of users and the vscode server to "onemarcfifty" # sets all passwords of users and the vscode server to "onemarcfifty"
USERPASSWORD=onemarcfifty USERPASSWORD=onemarcfifty
SERVERURL=rundeck2.lan SERVERURL="rundeck2.lan"
# first we install some software # first we install some software
@ -40,8 +40,8 @@ apt -y install rundeck
# replace the localhost entries in the config files with the hostname # replace the localhost entries in the config files with the hostname
sed -i s/localhost/$SERVERURL=rundeck2.lan/g /etc/rundeck/framework.properties sed -i s/localhost/$SERVERURL/g /etc/rundeck/framework.properties
sed -i s/localhost/$SERVERURL=rundeck2.lan/g /etc/rundeck/rundeck-config.properties sed -i s/localhost/$SERVERURL/g /etc/rundeck/rundeck-config.properties
# install mariadb # install mariadb
apt install -y mariadb-server apt install -y mariadb-server