aboutsummaryrefslogtreecommitdiffstats
path: root/disposable/Vagrantfile
diff options
context:
space:
mode:
Diffstat (limited to 'disposable/Vagrantfile')
-rw-r--r--disposable/Vagrantfile9
1 files changed, 4 insertions, 5 deletions
diff --git a/disposable/Vagrantfile b/disposable/Vagrantfile
index 72bd251..3307ad7 100644
--- a/disposable/Vagrantfile
+++ b/disposable/Vagrantfile
@@ -2,7 +2,6 @@
# frozen_string_literal: true
ENV['VAGRANT_DEFAULT_PROVIDER'] = 'libvirt'
-# Vagrant::DEFAULT_SERVER_URL.replace('https://vagrantcloud.com')
Vagrant.require_version '>= 2.2.6'
Vagrant.configure('2') do |config|
config.vm.box = 'generic/alpine319'
@@ -20,9 +19,6 @@ Vagrant.configure('2') do |config|
config.vm.graceful_halt_timeout = 60
config.ssh.connect_timeout = 15
- # shares
- # config.vm.synced_folder '.', '/vagrant', type: 'nfs', nfs_version: 4, nfs_udp: false, nfs_export: true
-
config.vm.provider 'libvirt' do |libvirt|
libvirt.storage_pool_name = 'ramdisk'
libvirt.default_prefix = 'disposable-'
@@ -35,12 +31,15 @@ Vagrant.configure('2') do |config|
libvirt.qemuargs value: '-no-user-config'
libvirt.qemuargs value: '-serial'
libvirt.qemuargs value: 'pty'
+ libvirt.qemuargs value: '-sandbox'
+ libvirt.qemuargs value: 'on'
libvirt.random model: 'random'
end
config.vm.provision 'update-upgrade', type: 'shell', name: 'update-upgrade', inline: <<-SHELL
set -ex
- sudo apk update && sudo apk upgrade
+ sudo apk update && \
+ sudo apk upgrade
sudo apk add tor torsocks firefox-esr xauth font-dejavu wget openvpn unzip iptables bubblewrap apparmor ufw nfs-utils
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