aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-08-18 18:16:32 +0000
committerterminaldweller <thabogre@gmail.com>2021-08-18 18:16:32 +0000
commit57d9373287340ed4330db43d7db7992fd0e70a46 (patch)
tree97698919f29408f222c33ae6067068edaa8f0859
parentupdate (diff)
downloadvagrantboxes-57d9373287340ed4330db43d7db7992fd0e70a46.tar.gz
vagrantboxes-57d9373287340ed4330db43d7db7992fd0e70a46.zip
update
-rw-r--r--i2p/Vagrantfile14
1 files changed, 11 insertions, 3 deletions
diff --git a/i2p/Vagrantfile b/i2p/Vagrantfile
index 8e7bc81..bbf86b5 100644
--- a/i2p/Vagrantfile
+++ b/i2p/Vagrantfile
@@ -2,7 +2,7 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
-ENV['VAGRANT_DEFAULT_PROVIDER'] = 'libvirt'
+# ENV['VAGRANT_DEFAULT_PROVIDER'] = 'virtualbox'
Vagrant.require_version '>= 2.2.6'
Vagrant.configure('2') do |config|
config.vm.box = 'bento/debian-10'
@@ -20,6 +20,9 @@ Vagrant.configure('2') do |config|
config.vm.graceful_halt_timeout = 60
config.ssh.connect_timeout = 15
+ config.vagrant.plugins = ['vagrant-vbguest']
+ config.vbguest.no_install = true
+
# network
config.vm.network 'forwarded_port', guest: 4444, host: 4445, id: 'i2ptun', protocol: 'tcp'
config.vm.network 'forwarded_port', guest: 4444, host: 4445, id: 'i2ptun', protocol: 'udp'
@@ -37,8 +40,13 @@ Vagrant.configure('2') do |config|
libvirt.qemuargs value: '-cpu'
libvirt.qemuargs value: 'host'
libvirt.qemuargs value: '-enable-kvm'
- libvirt.memory = '4096'
- libvirt.cpus = '8'
+ libvirt.memory = '768'
+ libvirt.cpus = '1'
+ end
+ config.vm.provider 'virtualbox' do |vb|
+ vb.gui = false
+ vb.memory = '768'
+ vb.cpus = 1
end
config.vm.provision 'shell', inline: <<-SHELL