forked from danderson/pixiecore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
23 lines (19 loc) · 755 Bytes
/
Vagrantfile
File metadata and controls
23 lines (19 loc) · 755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -*- mode: ruby -*-
# # vi: set ft=ruby :
unless Vagrant.has_plugin?("vagrant-libvirt")
raise Vagrant::Errors::VagrantError.new, "Please install the vagrant-libvirt plugin running 'vagrant plugin install vagrant-libvirt'"
end
Vagrant.configure("2") do |config|
config.vm.define :pxeserver do |pxeserver|
pxeserver.vm.box = "naelyn/ubuntu-trusty64-libvirt"
pxeserver.vm.network :private_network, :ip => '10.10.10.2'
pxeserver.vm.provision :shell, path: 'vagrant_provision.sh'
end
config.vm.define :pxeclient1 do |pxeclient1|
pxeclient1.vm.provider :libvirt do |pxeclient1_vm|
pxeclient1_vm.storage :file, :size => '20G', :type => 'qcow2'
pxeclient1_vm.boot 'network'
pxeclient1_vm.boot 'hd'
end
end
end