-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathVagrantfile
35 lines (28 loc) · 1004 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box_check_update = true
# Disable the builtin syncing functionality and use a file provisioner
# instead. This allows us to use RHEL boxes that do not come with rsync or
# other easy ways of getting the files into a box.
config.vm.synced_folder '.', '/vagrant', disabled: true
config.vm.provision :file, source: File.expand_path('../', __FILE__), destination: '/home/vagrant/autoelevate'
config.vm.provider "libvirt" do |libvirt|
libvirt.cpus = 1
libvirt.memory = 2048
libvirt.random_hostname = true
libvirt.uri = 'qemu:///system'
end
config.vm.define "centos7" do |i|
i.vm.box = "eurolinux-vagrant/centos-7"
i.vm.hostname = "centos7"
end
config.vm.define "rhel7" do |i|
i.vm.box = "generic/rhel7"
i.vm.hostname = "rhel7"
end
config.vm.define "eurolinux7" do |i|
i.vm.box = "eurolinux-vagrant/eurolinux-7"
i.vm.hostname = "eurolinux7"
end
end