Skip to content

Commit c4b4f9b

Browse files
author
elreydetoda
committed
adding libvirt config options
1 parent 72d5024 commit c4b4f9b

File tree

1 file changed

+20
-13
lines changed

1 file changed

+20
-13
lines changed

install/vagrantfile-kali_linux.template

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,24 @@ Vagrant.require_version ">= 1.6.2"
55

66
Vagrant.configure("2") do |config|
77

8-
config.vm.provider :virtualbox do |v, override|
9-
v.memory = 2048
10-
v.cpus = 1
11-
v.customize ["modifyvm", :id, "--vram", "48"]
12-
# removed, because vboxmanage changed flags from
13-
# --clipboard to --clipboard-mode, so I am going
14-
# to let clients configure this instead...
15-
# v.customize ["modifyvm", :id, "--clipboard", "bidirectional"]
16-
end
17-
config.vm.provider "vmware_desktop" do |v|
18-
v.vmx["memsize"] = "2048"
19-
v.vmx["numvcpus"] = "1"
20-
end
8+
config.vm.provider :virtualbox do |v, override|
9+
v.memory = 2048
10+
v.cpus = 1
11+
v.customize ["modifyvm", :id, "--vram", "48"]
12+
# removed, because vboxmanage changed flags from
13+
# --clipboard to --clipboard-mode, so I am going
14+
# to let clients configure this instead...
15+
# v.customize ["modifyvm", :id, "--clipboard", "bidirectional"]
16+
end
17+
config.vm.provider "vmware_desktop" do |v|
18+
v.vmx["memsize"] = "2048"
19+
v.vmx["numvcpus"] = "1"
20+
end
21+
config.vm.provider :libvirt do |v, override|
22+
v.cpus = 1
23+
v.memory = 2048
24+
v.driver = "kvm"
25+
v.video_vram = 256
26+
v.disk_bus = "virtio"
27+
end
2128
end

0 commit comments

Comments
 (0)