From 57d9373287340ed4330db43d7db7992fd0e70a46 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Wed, 18 Aug 2021 22:46:32 +0430 Subject: update --- i2p/Vagrantfile | 14 +++++++++++--- 1 file 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 -- cgit v1.2.3