Symfony2 Vagrant setup

Recently I searched for good Symfony2 Vagrant setup and came up that Andreas Hucks work is most suitable for my needs. It has everything what I needed NFS setup, preinstalled phpMyAdmin, Xdebug and etc.
However I installed newest Vagrant version (1.0.3) and then I tried to vagrant up my project I got this error:

NFS shared folders requires that host only networking is enabled
with a static IP. Please enable host only network and assign a
static IP via `config.vm.network`.

After some experiments with configuration I managed to solve issue by changing Vagrantfile config.vm.network line to this code:

config.vm.network :hostonly, "33.33.33.100"

After this fix VM started with no more issues.

I forked Andreas Hucks repository and added my configuration changes.

Here is repository link: https://github.com/irmantas/sf2-vagrant

0saves
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.
This entry was posted in Linux, Programming, Server and tagged , . Bookmark the permalink.

One Response to Symfony2 Vagrant setup

  1. Jack says:

    Thanks for the tip 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *