diff options
Diffstat (limited to 'debian11/Vagrantfile')
-rw-r--r-- | debian11/Vagrantfile | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/debian11/Vagrantfile b/debian11/Vagrantfile index 895a264..8ddee49 100644 --- a/debian11/Vagrantfile +++ b/debian11/Vagrantfile @@ -22,20 +22,17 @@ Vagrant.configure('2') do |config| config.vm.network 'forwarded_port', guest: 7070, host: 7070, protocol: 'tcp', atuo_correct: true config.vm.network 'forwarded_port', guest: 4444, host: 4444, protocol: 'tcp', atuo_correct: true config.vm.network 'forwarded_port', guest: 4447, host: 4447, protocol: 'tcp', atuo_correct: true - # config.vm.network 'forwarded_port', guest: 7070, host: 7070, protocol: 'tcp', host_ip: '192.168.1.103' - # config.vm.network 'forwarded_port', guest: 4444, host: 4444, protocol: 'tcp', host_ip: '192.168.1.103' - # config.vm.network 'forwarded_port', guest: 4447, host: 4447, protocol: 'tcp', host_ip: '192.168.1.103' # 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.vagrant.plugins = ['vagrant-reload', { 'vagrant-libvirt' => { 'version' => '^0.6.2' } }] config.vm.provider 'libvirt' do |libvirt| libvirt.default_prefix = 'deb11-' libvirt.driver = 'kvm' - libvirt.memory = '2048' - libvirt.cpus = 2 + libvirt.memory = '512' + libvirt.cpus = 1 libvirt.sound_type = nil libvirt.qemuargs value: '-nographic' libvirt.qemuargs value: '-nodefaults' @@ -49,11 +46,11 @@ Vagrant.configure('2') do |config| libvirt.random model: 'random' end - # config.vm.provision 'i2p-install', type: 'shell', name: 'i2p-install', inline: <<-SHELL - # export DEBIAN_FRONTEND=noninteractive && \ - # sudo apt update && sudo apt upgrade -y && \ - # sudo apt install -y firefox-esr - # # sudo apt install -y i2p i2p-router - # # i2prouter start - # SHELL + config.vm.provision 'i2p-install', type: 'shell', name: 'i2p-install', inline: <<-SHELL + export DEBIAN_FRONTEND=noninteractive && \ + sudo apt update && sudo apt upgrade -y && \ + sudo apt install -y i2pd + sudo systemctl enable i2pd + sudo systemctl start i2pd + SHELL end |