timsutton / osx-vm-templates

macOS templates for Packer and VeeWee.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build vagrant box with vagrantfile template

cybertk opened this issue · comments

When using the box built with osx-vm-templates, there is always some setting to tune in upper Vagrantfile.

Can we built those common settings into box with vagrantfile_template

There is a good reference here

Sure, but what settings would you suggest? For Vbox builds one should change the default synced folder setting to rsync or NFS, but I'm not sure what else.

My memory's a bit hazy, but I recall having some trouble with template Vagrantfiles—see #13 (comment). If I tried to create an rsync shared folder in the template Vagrantfile, I was unable to override to nfs in the local Vagrantfile. I haven't tried this lately, but I would be surprised if the behavior had changed.