aboutsummaryrefslogtreecommitdiffstats
path: root/disposable/Vagrantfile
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2024-04-27 22:03:27 +0000
committerterminaldweller <devi@terminaldweller.com>2024-04-27 22:03:27 +0000
commit329cc8852756b0dcbf22fa93fc1826276169824a (patch)
treea07f15f977521ccb15a467f33fe433347aafe9be /disposable/Vagrantfile
parentfixed a bunch of things in the disposable, its now a firfox disposable (diff)
downloadvagrantboxes-329cc8852756b0dcbf22fa93fc1826276169824a.tar.gz
vagrantboxes-329cc8852756b0dcbf22fa93fc1826276169824a.zip
tor disposable
Diffstat (limited to '')
-rw-r--r--disposable/Vagrantfile10
1 files changed, 8 insertions, 2 deletions
diff --git a/disposable/Vagrantfile b/disposable/Vagrantfile
index db55e21..6522b1e 100644
--- a/disposable/Vagrantfile
+++ b/disposable/Vagrantfile
@@ -21,7 +21,7 @@ Vagrant.configure('2') do |config|
config.ssh.connect_timeout = 15
# shares
- # config.vm.synced_folder '.', '/vagrant', type: 'nfs', nfs_version: 4, nfs_udp: false
+ config.vm.synced_folder '.', '/vagrant', type: 'nfs', nfs_version: 4, nfs_udp: false
config.vm.provider 'libvirt' do |libvirt|
libvirt.storage_pool_name = 'ramdisk'
@@ -40,12 +40,18 @@ Vagrant.configure('2') do |config|
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
+ sudo apk add tor torsocks firefox-esr xauth font-dejavu wget
+ wget -q https://addons.mozilla.org/firefox/downloads/file/4228676/foxyproxy_standard-8.9.xpi
+ mv foxyproxy_standard-8.9.xpi foxyproxy@eric.h.jung.xpi
+ mkdir -p ~/.mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/
+ mv foxyproxy@eric.h.jung.xpi ~/.mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/
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
+ cp /vagrant/torrc /etc/tor/torrc
+ rc-service tor start
SHELL
end