audiolize / vagrant-softlayer

This is a Vagrant plugin that adds a SoftLayer provider to Vagrant, allowing Vagrant to control and provision SoftLayer CCI instances.
MIT License
42 stars 15 forks source link

question on synced folder #32

Closed scottxusayhi closed 9 years ago

scottxusayhi commented 9 years ago

The default action of synced folder is to sync the project root on the host to '/vagrant' on the guest. But if I need to only sync a sub-dir of the project root use the 'synced_folder' option, e.g., config.vm.synced_folder 'part/', '/vagrant/part', after the specified part is done, the project root is then automatically synced .

The question is in this case how to disable the default behavior that always sync the project root?

scottxusayhi commented 9 years ago

solved , it's related with vagrant not any plugin .. add this line in vagrantfile: config.vm.synced_folder ".", "/vagrant", disabled: true config.vm.synced_folder 'what', '/ever/need/sync'