@ -8,7 +8,7 @@ You can copy-paste the snippet below to the user data (cloud-init or startup scr
```
```
#!/bin/bash
#!/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.
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 ONDEMAND_CELLULAR=true
export WINDOWS=true
export WINDOWS=true
export SSH_TUNNELING=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
##### 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 METHOD=local
export ONDEMAND_CELLULAR=true
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
##### 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
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
```
```