Vagrantfile 515 B

123456789101112131415161718
  1. ENV['VAGRANT_DEFAULT_PROVIDER'] = 'libvirt'
  2. Vagrant.configure("2") do |config|
  3. config.vm.box_url = 'file://' + File.dirname(__FILE__) + '/dist/arch-desktop.box'
  4. config.vm.box = 'arch-desktop'
  5. config.vm.boot_timeout = 1
  6. config.vm.graceful_halt_timeout = 1
  7. config.vm.synced_folder '.', '/vagrant', disabled: true
  8. config.ssh.insert_key = false
  9. config.vm.provider :libvirt do |v|
  10. v.memory = 2048
  11. v.cpus = 2
  12. v.driver = "kvm"
  13. v.machine_arch = 'x86_64'
  14. v.loader = '/usr/share/ovmf/x64/OVMF.fd'
  15. end
  16. end