forked from coreos/rpm-ostree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
36 lines (27 loc) · 1.02 KB
/
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
36
# vi: set ft=ruby :
# See `HACKING.md` for more information on this.
Vagrant.configure(2) do |config|
# TODO: switch to the Fedora 30 CoreOS vagrant box once available
config.vm.box = "fedora/29-atomic-host"
config.vm.hostname = "fedoraah-dev"
config.vm.define "vmcheck" do |vmcheck|
end
if Vagrant.has_plugin?('vagrant-sshfs')
config.vm.synced_folder ".", "/var/roothome/sync", type: 'sshfs'
File.write(__dir__ + '/.vagrant/using_sshfs', '')
end
# turn off the default rsync in the vagrant box
config.vm.synced_folder ".", "/home/vagrant/sync", disabled: true
config.vm.provider "libvirt" do |libvirt, override|
libvirt.cpus = 2
libvirt.memory = 2048
libvirt.driver = 'kvm'
end
config.vm.provision "ansible" do |ansible|
ansible.playbook = "vagrant/setup.yml"
ansible.host_key_checking = false
ansible.raw_ssh_args = ['-o ControlMaster=no']
# for debugging the ansible playbook
#ansible.raw_arguments = ['-v']
end
end