mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 18:08:53 +00:00
43 lines
940 B
Ruby
43 lines
940 B
Ruby
Vagrant.configure("2") do |config|
|
|
|
|
config.vm.provider "virtualbox" do |v|
|
|
v.memory = 4096
|
|
v.cpus = 2
|
|
end
|
|
|
|
config.vm.define "centos7" do |box|
|
|
box.vm.box = "chef/centos-7.0"
|
|
end
|
|
|
|
config.vm.define "centos6.5" do |box|
|
|
box.vm.box = "chef/centos-6.5"
|
|
end
|
|
|
|
config.vm.define "ubuntu14" do |box|
|
|
box.vm.box = "ubuntu/trusty64"
|
|
end
|
|
|
|
config.vm.define "ubuntu12" do |box|
|
|
box.vm.box = "ubuntu/precise64"
|
|
end
|
|
|
|
config.vm.define "freebsd10" do |box|
|
|
box.vm.box = "chef/freebsd-10.0"
|
|
|
|
# Private network for NFS
|
|
box.vm.network :private_network, ip: "192.168.56.101"
|
|
|
|
# configure the NICs
|
|
box.vm.provider :virtualbox do |vb|
|
|
vb.customize ["modifyvm", :id, "--nictype1", "virtio"]
|
|
vb.customize ["modifyvm", :id, "--nictype2", "virtio"]
|
|
end
|
|
|
|
box.vm.synced_folder ".", "/vagrant", type: "nfs"
|
|
|
|
box.vm.provision "shell",
|
|
inline: "pkg install -y gmake"
|
|
end
|
|
|
|
end
|