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 }