osx-vm-templates icon indicating copy to clipboard operation
osx-vm-templates copied to clipboard

Build vagrant box with vagrantfile template

Open cybertk opened this issue 10 years ago • 2 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

cybertk avatar Dec 04 '15 07:12 cybertk

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.

timsutton avatar Dec 04 '15 12:12 timsutton

My memory's a bit hazy, but I recall having some trouble with template Vagrantfiles—see https://github.com/timsutton/osx-vm-templates/pull/13#issuecomment-44151558. 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.

mattieb avatar Dec 04 '15 13:12 mattieb