aboutsummaryrefslogtreecommitdiff
path: root/share/provision
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-08-02 22:00:07 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-08-02 22:00:07 -0300
commite730b5fd934032242d218e2c79fffacdb60a19bc (patch)
tree5f15699a61eab339e6b71610dae89e2bb348556c /share/provision
parentabd90edba632ae6094d21278ccb9949212a196ec (diff)
downloadkvmx-e730b5fd934032242d218e2c79fffacdb60a19bc.tar.gz
kvmx-e730b5fd934032242d218e2c79fffacdb60a19bc.tar.bz2
Fix: minor provisioning corrections
Diffstat (limited to 'share/provision')
-rwxr-xr-xshare/provision/debian/tor-browser2
-rwxr-xr-xshare/provision/debian/webserver8
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