summaryrefslogtreecommitdiff
path: root/roles/vagrant-libvirt-box/files/Vagrantfile
blob: 7a720d01e9c50ff708cbfdb228ca6c3788b8a449 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Vagrant.configure("2") do |config|
  config.vm.post_up_message = "VyOS box. See https://app.vagrantup.com/vyos for help and bug reports"
  config.vm.synced_folder './', '/vagrant',
                          type: "rsync",
                          owner: 'vyos',
                          group: 'users',
                          mount_options: ['dmode=775,fmode=775']
  config.ssh.username = "vyos"
  config.ssh.password = "vyos"
  config.vm.provider :libvirt do |libvirt|
    libvirt.driver = "kvm"
    libvirt.connect_via_ssh = false
    libvirt.username = "root"
    libvirt.storage_pool_name = "default"
  end
end