From fb25090d69e9981d16e442f3f143e87b46dd8bc9 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Sat, 18 Mar 2023 00:06:14 +0330 Subject: updates --- debian-buster/Vagrantfile | 2 +- ephemeral/Vagrantfile | 3 ++- kali/Vagrantfile | 1 + openbsd/Vagrantfile | 2 ++ ubuntu1804/Vagrantfile | 2 +- ubuntu2204/Vagrantfile | 2 -- 6 files changed, 7 insertions(+), 5 deletions(-) diff --git a/debian-buster/Vagrantfile b/debian-buster/Vagrantfile index dcf880c..e96cdd2 100644 --- a/debian-buster/Vagrantfile +++ b/debian-buster/Vagrantfile @@ -22,7 +22,7 @@ Vagrant.configure('2') do |config| # shares 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.vagrant.plugins = [{ 'vagrant-libvirt' => { 'version' => '^0.6.2' } }] config.vm.provider 'libvirt' do |libvirt| libvirt.default_prefix = 'deb10-' diff --git a/ephemeral/Vagrantfile b/ephemeral/Vagrantfile index 3cc28a5..f7a5f84 100644 --- a/ephemeral/Vagrantfile +++ b/ephemeral/Vagrantfile @@ -41,9 +41,10 @@ Vagrant.configure('2') do |config| libvirt.qemuargs value: '-nodefaults' libvirt.qemuargs value: '-no-user-config' libvirt.qemuargs value: '-serial' - # libvirt.qemuargs value: 'telnet::5323,server,nowait' libvirt.qemuargs value: 'pty' libvirt.random model: 'random' + # setting this will also remove the ability to run provisioning according to docs + # libvirt.mgmt_attach = false end # config.vm.provision 'update-upgrade', type: 'shell', name: 'update-upgrade', inline: <<-SHELL diff --git a/kali/Vagrantfile b/kali/Vagrantfile index 0c9f8be..aed10af 100644 --- a/kali/Vagrantfile +++ b/kali/Vagrantfile @@ -35,5 +35,6 @@ Vagrant.configure('2') do |config| libvirt.qemuargs value: '-no-user-config' libvirt.qemuargs value: '-serial' libvirt.qemuargs value: 'pty' + # libvirt.usb :vendor => '0x2357', :product => '0x010c' end end diff --git a/openbsd/Vagrantfile b/openbsd/Vagrantfile index 086c176..032575a 100644 --- a/openbsd/Vagrantfile +++ b/openbsd/Vagrantfile @@ -31,6 +31,8 @@ Vagrant.configure('2') do |config| libvirt.qemuargs value: '-nographic' libvirt.qemuargs value: '-nodefaults' libvirt.qemuargs value: '-no-user-config' + libvirt.qemuargs value: '-serial' + libvirt.qemuargs value: 'pty' libvirt.sound_type = nil libvirt.cpus = CPU_COUNT libvirt.memory = MEMORY diff --git a/ubuntu1804/Vagrantfile b/ubuntu1804/Vagrantfile index 467c89a..aa30b9b 100644 --- a/ubuntu1804/Vagrantfile +++ b/ubuntu1804/Vagrantfile @@ -22,7 +22,7 @@ Vagrant.configure('2') do |config| # shares # config.vm.synced_folder '.', '/vagrant', type: 'nfs', nfs_version: 3, nfs_udp: false - config.vagrant.plugins = ['vagrant-reload', { 'vagrant-libvirt' => { 'version' => '^0.6.2' } }] + config.vagrant.plugins = [{ 'vagrant-libvirt' => { 'version' => '^0.6.2' } }] config.vm.provider 'libvirt' do |libvirt| libvirt.default_prefix = 'ubuntu18-' diff --git a/ubuntu2204/Vagrantfile b/ubuntu2204/Vagrantfile index 9371f28..ed7c5bd 100644 --- a/ubuntu2204/Vagrantfile +++ b/ubuntu2204/Vagrantfile @@ -22,8 +22,6 @@ Vagrant.configure('2') do |config| # shares 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 = 'ubuntu22-' libvirt.driver = 'kvm' -- cgit v1.2.3