mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-03-22 05:41:54 +00:00
preserve env
This commit is contained in:
@@ -1,21 +1,19 @@
|
||||
#!/bin/bash
|
||||
set -ex
|
||||
|
||||
export TELEMETRY_ENABLED=false
|
||||
|
||||
# This script should be run from the app root
|
||||
|
||||
if type rpm > /dev/null; then
|
||||
sudo rpm -i omnibus/pkg/firezone*.rpm
|
||||
sudo -E rpm -i omnibus/pkg/firezone*.rpm
|
||||
elif type dpkg > /dev/null; then
|
||||
sudo dpkg -i omnibus/pkg/firezone*.deb
|
||||
sudo -E dpkg -i omnibus/pkg/firezone*.deb
|
||||
else
|
||||
echo 'Neither rpm nor dpkg found'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
sudo firezone-ctl reconfigure
|
||||
sudo firezone-ctl create-or-reset-admin
|
||||
sudo -E firezone-ctl reconfigure
|
||||
sudo -E firezone-ctl create-or-reset-admin
|
||||
|
||||
# XXX: Add more commands here to test
|
||||
|
||||
|
||||
Reference in New Issue
Block a user