From a60d49f5fc427938dbbb292120bd52ecc33948b1 Mon Sep 17 00:00:00 2001 From: Jack Ivanov <17044561+jackivanov@users.noreply.github.com> Date: Fri, 19 Apr 2019 10:57:31 +0200 Subject: [PATCH] Update deploy-from-script-or-cloud-init-to-localhost.md --- docs/deploy-from-script-or-cloud-init-to-localhost.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/deploy-from-script-or-cloud-init-to-localhost.md b/docs/deploy-from-script-or-cloud-init-to-localhost.md index 368db5a..6070562 100644 --- a/docs/deploy-from-script-or-cloud-init-to-localhost.md +++ b/docs/deploy-from-script-or-cloud-init-to-localhost.md @@ -8,7 +8,7 @@ You can copy-paste the snippet below to the user data (cloud-init or startup scr ``` #!/bin/bash -curl -s https://raw.githubusercontent.com/trailofbits/algo/master/install.sh | sudo bash -x +curl -s https://raw.githubusercontent.com/trailofbits/algo/master/install.sh | sudo -E bash -x ``` The command will prepare the environment and install AlgoVPN with default parameters. If you want to modify the behaviour you may define additional variables. @@ -38,7 +38,7 @@ The command will prepare the environment and install AlgoVPN with default parame export ONDEMAND_CELLULAR=true export WINDOWS=true export SSH_TUNNELING=true -curl -s https://raw.githubusercontent.com/trailofbits/algo/master/install.sh | sudo bash -x +curl -s https://raw.githubusercontent.com/trailofbits/algo/master/install.sh | sudo -E bash -x ``` ##### How to deploy locally without using cloud-init @@ -46,7 +46,7 @@ curl -s https://raw.githubusercontent.com/trailofbits/algo/master/install.sh | s ``` export METHOD=local export ONDEMAND_CELLULAR=true -curl -s https://raw.githubusercontent.com/trailofbits/algo/master/install.sh | sudo bash -x +curl -s https://raw.githubusercontent.com/trailofbits/algo/master/install.sh | sudo -E bash -x ``` ##### How to deploy a server using arguments @@ -54,5 +54,5 @@ curl -s https://raw.githubusercontent.com/trailofbits/algo/master/install.sh | s The arguments order as per [variables](#variables) above ``` -curl -s https://raw.githubusercontent.com/trailofbits/algo/master/install.sh | sudo bash -x -s local true false _null true true true true myvpnserver.com +curl -s https://raw.githubusercontent.com/trailofbits/algo/master/install.sh | sudo -E bash -x -s local true false _null true true true true myvpnserver.com ```