From c14c8463e00e8ef8280865edbdcde38d584a51a1 Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 26 Jul 2022 13:38:37 -0500 Subject: [PATCH] Remove sudo from install script (#852) --- scripts/install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index dd2b06c6a..41f5adc98 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -135,10 +135,10 @@ setupCloudsmithRepo() { 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 firezone-ctl reconfigure - sudo firezone-ctl create-or-reset-admin + sed -i "s/firezone@localhost/$1/" $conf + sed -i "s/default\['firezone']\['external_url'].*/default['firezone']['external_url'] = 'https:\/\/$public_ip'/" $conf + firezone-ctl reconfigure + firezone-ctl create-or-reset-admin } main() {