aboutsummaryrefslogtreecommitdiffstats
path: root/disposable
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2024-04-27 21:11:35 +0000
committerterminaldweller <devi@terminaldweller.com>2024-04-27 21:11:35 +0000
commitb0c975476fde9b304a4a47ba607c1b78e3143d9c (patch)
tree529db05197217edde592ab544a193593cd6ffeb9 /disposable
parentdisposables, first attempt (diff)
downloadvagrantboxes-b0c975476fde9b304a4a47ba607c1b78e3143d9c.tar.gz
vagrantboxes-b0c975476fde9b304a4a47ba607c1b78e3143d9c.zip
fixed a bunch of things in the disposable, its now a firfox disposable
Diffstat (limited to 'disposable')
-rw-r--r--disposable/Vagrantfile14
1 files changed, 10 insertions, 4 deletions
diff --git a/disposable/Vagrantfile b/disposable/Vagrantfile
index 4a1153f..db55e21 100644
--- a/disposable/Vagrantfile
+++ b/disposable/Vagrantfile
@@ -38,8 +38,14 @@ Vagrant.configure('2') do |config|
libvirt.random model: 'random'
end
- # config.vm.provision 'update-upgrade', type: 'shell', name: 'update-upgrade', inline: <<-SHELL
- # sudo apk update && sudo apk upgrade
- # sudo apk add torsocks irssi tmux
- # SHELL
+ config.vm.provision 'update-upgrade', type: 'shell', name: 'update-upgrade', inline: <<-SHELL
+ sudo apk update && sudo apk upgrade
+ sudo apk add torsocks firefox-esr xauth font-dejavu
+ SHELL
+
+ config.vm.provision 'update-upgrade-privileged', type: 'shell', name: 'update-upgrade-privileged', privileged: true, inline: <<-SHELL
+ sed -i 's/^#X11DisplayOffset .*/X11DisplayOffset 0/' /etc/ssh/sshd_config
+ sed -i 's/^X11Forwarding .*/X11Forwarding yes/' /etc/ssh/sshd_config
+ rc-service sshd restart
+ SHELL
end