-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
32 lines (25 loc) · 1.43 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
# Every Vagrant development environment requires a box to build off of.
config.vm.box_url = "https://atlas.hashicorp.com/unzagi/boxes/ubuntu-desktop/"
config.vm.box = "unzagi/ubuntu-desktop"
# Sync between the web root of the VM and the 'configs' directory
config.vm.synced_folder "configs/", "/home/vagrant/vagrantGNS3/configs/"
# Sync between the web root of the VM and the 'projects' directory
config.vm.synced_folder "projects/", "/home/vagrant/vagrantGNS3/projects/"
# Sync between the web root of the VM and the 'images' directory
config.vm.synced_folder "images/", "/home/vagrant/vagrantGNS3/images/"
# Sync between the web root of the VM and the 'projects' directory
config.vm.synced_folder "projects/", "/home/vagrant/vagrantGNS3/projects/"
# Sync between the scripts foldr in the VM and the 'scripts' directory
config.vm.synced_folder "scripts/", "/home/vagrant/scripts/"
# Sync between the web root of the VM and the 'ansible' directory
config.vm.synced_folder "ansible/", "/etc/ansible", mount_options: ["fmode=666"]
config.vm.provider :virtualbox do |vb|
vb.customize ['modifyvm', :id, '--usb', 'on']
end
end