diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-08-02 22:00:07 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-08-02 22:00:07 -0300 |
commit | e730b5fd934032242d218e2c79fffacdb60a19bc (patch) | |
tree | 5f15699a61eab339e6b71610dae89e2bb348556c /share | |
parent | abd90edba632ae6094d21278ccb9949212a196ec (diff) | |
download | kvmx-e730b5fd934032242d218e2c79fffacdb60a19bc.tar.gz kvmx-e730b5fd934032242d218e2c79fffacdb60a19bc.tar.bz2 |
Fix: minor provisioning corrections
Diffstat (limited to 'share')
-rwxr-xr-x | share/provision/debian/tor-browser | 2 | ||||
-rwxr-xr-x | share/provision/debian/webserver | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/share/provision/debian/tor-browser b/share/provision/debian/tor-browser index 05218cd..baf231d 100755 --- a/share/provision/debian/tor-browser +++ b/share/provision/debian/tor-browser @@ -30,7 +30,7 @@ APT_INSTALL="sudo LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y" $DIRNAME/web-basic $HOSTNAME $DOMAIN $MIRROR # Use a stacked window manager to reduce browser fingerprinting -$DIRNAME/openbox +$DIRNAME/openbox $HOSTNAME $DOMAIN $MIRROR # Install Tor Browser # No need to install tor-browser during provision, as the tor-browser script diff --git a/share/provision/debian/webserver b/share/provision/debian/webserver index 650452f..9098007 100755 --- a/share/provision/debian/webserver +++ b/share/provision/debian/webserver @@ -18,5 +18,13 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +# Parameters +DIRNAME="`dirname $0`" +BASENAME="`basename $0`" +HOSTNAME="$1" +DOMAIN="$2" +MIRROR="$3" + +# Run sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove -y && sudo apt-get clean sudo apt-get install -y apache2 |