Skip to content

Commit

Permalink
Merge pull request #34 from tjanez/change_default_sync_folder
Browse files Browse the repository at this point in the history
Change default Vagrant synced folder to "/vagrant".
  • Loading branch information
kbsingh authored Jul 28, 2016
2 parents 36473e7 + 13d2208 commit 89d556b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions vagrant/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
Notes:
Notes
-----

In order to disable the rsync option in your Vagrantfile, you need to use this snippet:
To disable the default Vagrant synced folder (`/vagrant`), you need to add the
following snippet to your `Vagrantfile`:

~~~ruby
config.vm.synced_folder ".", "/home/vagrant/sync", disabled: true
config.vm.synced_folder ".", "/vagrant", disabled: true
~~~

2 changes: 1 addition & 1 deletion vagrant/do_vagrant_cbs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ build_vagrant_image()
--format=rhevm-ova \
--ova-option vsphere_ova_format=vagrant-virtualbox \
--ova-option rhevm_ova_format=vagrant-libvirt \
--ova-option vagrant_sync_directory=/home/vagrant/sync \
--ova-option vagrant_sync_directory=/vagrant \
--repo http://mirror.centos.org/centos/${EL_MAJOR}/extras/x86_64/\
--repo http://mirror.centos.org/centos/${EL_MAJOR}/updates/x86_64/\
--scratch \
Expand Down

0 comments on commit 89d556b

Please sign in to comment.