]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Fix: minor provisioning corrections
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 3 Aug 2024 01:00:07 +0000 (22:00 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 3 Aug 2024 01:00:07 +0000 (22:00 -0300)
share/provision/debian/tor-browser
share/provision/debian/webserver

index 05218cd1345788324fc1a76a658135b27383cd50..baf231d96d5dc3219fb1d1f85ce40554fa956678 100755 (executable)
@@ -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
index 650452f74f14490cdbe8a45855955e9339ffbb0f..9098007ecaa7eee8cd4dba0cf53633974f05858c 100755 (executable)
 # 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