diff options
author | terminaldweller <devi@terminaldweller.com> | 2024-06-11 00:09:43 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2024-06-11 00:09:43 +0000 |
commit | 892f6817b39888eb1d92db978a3522a3df2d8d17 (patch) | |
tree | 1c4990cb4f9de2c231fcd19885b26b83a93b81c4 /disposable | |
parent | updates (diff) | |
download | vagrantboxes-main.tar.gz vagrantboxes-main.zip |
Diffstat (limited to '')
-rw-r--r-- | disposable/Vagrantfile | 9 |
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 |