ruby - disable nfs pruning in vagrant -


most (not sure why) vagrant (1.8.1) started asking root password. @ work no root privileges given (no sodoer)

i looking way tell vargant stop nfs pruning together

sadly documentation not how modify particular flag , don't know ruby code gives away there should flag can't figure out put "false" in there

i intend disable nfs or skip part together. both welcome.

my starting point ~/.vagrant.d/vagrantfile

vagrant.configure('2') |config|     config.vagrant.host :nfs_prune => false end 

error message is: pruning invalid nfs exports. administrator privileges required...

ps: no, not use nfs in shared folders

you should able disable using config.nfs.functional = false

functional (bool) - defaults true. if false, nfs not used synced folder type. if synced folder requests nfs, error.

vagrantfile can loaded multiple sources, see load order , merging

vagrant loads series of vagrantfiles, merging settings goes. allows vagrantfiles of varying level of specificity override prior settings. vagrantfiles loaded in order shown below. note if vagrantfile not found @ step, vagrant continues next step.

  1. vagrantfile packaged box used given machine.
  2. vagrantfile in vagrant home directory (defaults ~/.vagrant.d). lets specify defaults system user.
  3. vagrantfile project directory. vagrantfile modifying of time.

as mentioned check point 3 , 2, check vagrantfile particular box (if any)


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -