cmf-sandbox icon indicating copy to clipboard operation
cmf-sandbox copied to clipboard

Update for Vagrant

Open cosmicdreams opened this issue 11 years ago • 3 comments

When spinning up the VM with Vagrant I receive the following warning:

There were warnings and/or errors while loading your Vagrantfile for the machine 'default'.

Your Vagrantfile was written for an earlier version of Vagrant, and while Vagrant does the best it can to remain backwards compatible, there are some cases where things have changed significantly enough to warrant a message. These messages are shown below.

Warnings:

  • config.vm.customize calls are VirtualBox-specific. If you're using any other provider, you'll have to use config.vm.provider in a v2 configuration block.
  • The 'v-root' shared folders have been renamed to 'vagrant-root'. Assuming you meant 'vagrant-root'...

cosmicdreams avatar Aug 19 '14 19:08 cosmicdreams

i think nobody is actively maintaining the vagrant configuration. if you want to have a look and send a PR to upgrade it, that would be great. i think by now we can safely assume that people are on a vagrant that understands the configuration v2.

dbu avatar Aug 19 '14 19:08 dbu

Oh awesome, let me see what I need to do in order to provide you with a PR.

BTW, I was able to find the reason why the vagrantFile failed, wrong version of PHP. To fix that, perhaps moving the most recent LTS for ubuntu is sufficient.

cosmicdreams avatar Aug 20 '14 21:08 cosmicdreams

+1 for most recent LTS of ubuntu as base box.

dbu avatar Aug 21 '14 06:08 dbu