aboutsummaryrefslogtreecommitdiffstats
path: root/disposable/Vagrantfile
diff options
context:
space:
mode:
Diffstat (limited to 'disposable/Vagrantfile')
-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