aboutsummaryrefslogtreecommitdiffstats
path: root/debian11
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-12-14 10:53:39 +0000
committerterminaldweller <thabogre@gmail.com>2022-12-14 10:53:39 +0000
commitdacd22720f0ad69ecaba7f3a9fb73dbbffc12e55 (patch)
treee51fd3d1a84c5101235a858ceb7846c2462ba655 /debian11
parenti2p (diff)
downloadvagrantboxes-dacd22720f0ad69ecaba7f3a9fb73dbbffc12e55.tar.gz
vagrantboxes-dacd22720f0ad69ecaba7f3a9fb73dbbffc12e55.zip
fox in a box
Diffstat (limited to 'debian11')
-rw-r--r--debian11/Vagrantfile23
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