From d07386d7e37001d6c4fc6b04dad3ff683cbdabff Mon Sep 17 00:00:00 2001 From: hieultan Date: Thu, 7 Apr 2022 19:23:18 +0700 Subject: [PATCH] Fix escape character error (#526) --- scripts/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install.sh b/scripts/install.sh index 37055e51c..123861c22 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -144,7 +144,7 @@ installAndDownloadArtifact() { firezoneSetup() { conf="/opt/firezone/embedded/cookbooks/firezone/attributes/default.rb" sudo sed -i "s/firezone@localhost/$1/" $conf - sudo sed -i "s/default\['firezone']\['external_url'].*/default['firezone']['external_url'] = 'https://$public_ip'/" $conf + sudo sed -i "s/default\['firezone']\['external_url'].*/default['firezone']['external_url'] = 'https:\/\/$public_ip'/" $conf sudo firezone-ctl reconfigure sudo firezone-ctl create-or-reset-admin }