summaryrefslogtreecommitdiff
path: root/scripts/Vagrantfile
diff options
context:
space:
mode:
authorYuya Kusakabe <yuya.kusakabe@gmail.com>2017-07-28 23:17:42 +0900
committerYuya Kusakabe <yuya.kusakabe@gmail.com>2017-07-29 01:34:49 +0900
commitbff1f61f47f228fbd8eae18586667779ccb27a31 (patch)
tree4ac0152a650e9b79333a4977d7787b18f6dd1414 /scripts/Vagrantfile
parentec208d8eb6a3a746d1a1a5c361f6cdb5474fdd35 (diff)
downloadvyos-build-bff1f61f47f228fbd8eae18586667779ccb27a31.tar.gz
vyos-build-bff1f61f47f228fbd8eae18586667779ccb27a31.zip
Add script for building Vagrant libvirt box
Diffstat (limited to 'scripts/Vagrantfile')
-rw-r--r--scripts/Vagrantfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/Vagrantfile b/scripts/Vagrantfile
new file mode 100644
index 00000000..7c89422d
--- /dev/null
+++ b/scripts/Vagrantfile
@@ -0,0 +1,12 @@
+Vagrant.configure("2") do |config|
+ 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"
+ end
+end