Skip to content
Snippets Groups Projects
Commit 0d901c41 authored by Sebastian Meiling's avatar Sebastian Meiling Committed by GitHub
Browse files

Merge pull request #5846 from cgundogan/pr/vagrantfile_tutorial

vagrant: sync Tutorials folder into vbox
parents 77f8aabe c767f271
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,8 @@ Vagrant.configure(2) do |config| ...@@ -7,6 +7,8 @@ Vagrant.configure(2) do |config|
# For a complete reference, please see the online documentation at # For a complete reference, please see the online documentation at
# https://docs.vagrantup.com. # https://docs.vagrantup.com.
config.vm.define "RIOT", primary: true
# Every Vagrant development environment requires a box. You can search for # Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search. # boxes at https://atlas.hashicorp.com/search.
config.vm.box = "boxcutter/ubuntu1604" config.vm.box = "boxcutter/ubuntu1604"
...@@ -25,6 +27,13 @@ Vagrant.configure(2) do |config| ...@@ -25,6 +27,13 @@ Vagrant.configure(2) do |config|
# config.vm.synced_folder "../data", "/vagrant_data" # config.vm.synced_folder "../data", "/vagrant_data"
config.vm.synced_folder ".", "/home/vagrant/RIOT" config.vm.synced_folder ".", "/home/vagrant/RIOT"
config.vm.define "tutorials", autostart: false do |tutorials|
tutorials.vm.synced_folder "../.", "/home/vagrant/Tutorials"
config.vm.provider "virtualbox" do |vb|
vb.name = "RIOT VM - Tutorials"
end
end
# Provider-specific configuration so you can fine-tune various # Provider-specific configuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options. # backing providers for Vagrant. These expose provider-specific options.
config.vm.provider "virtualbox" do |vb| config.vm.provider "virtualbox" do |vb|
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment