-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathVagrantfile
More file actions
19 lines (16 loc) · 791 Bytes
/
Vagrantfile
File metadata and controls
19 lines (16 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box='clink15/pxe'
config.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--cpus", 1]
v.customize ["modifyvm", :id, "--memory", 512]
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
v.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
v.customize ["modifyvm", :id, "--nattftpfile1", "pxelinux.0"]
v.customize ["modifyvm", :id, "--nattftpserver1", "192.168.56.2"]
v.customize ["modifyvm", :id, "--natnet1", "192.168.56/24"]
v.customize ["modifyvm", :id, "--cableconnected1", "on"] # ensure that the network cable is connected. See chef/bento#688
v.gui = true
end
config.vm.synced_folder '.', '/vagrant', disabled: true
end