Skip to content

Instantly share code, notes, and snippets.

@netoxico
Last active December 15, 2015 20:49
Show Gist options
  • Save netoxico/5321452 to your computer and use it in GitHub Desktop.
Save netoxico/5321452 to your computer and use it in GitHub Desktop.
```ruby
# vi: set ft=ruby :
Vagrant::Config.run do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/lucid32.box"
config.vm.forward_port 8000, 8000
config.vm.network :hostonly, "33.33.00.10"
config.vm.share_folder("v-root", "/vagrant", ".", :extra => 'dmode=770,fmode=770', :nfs => true)
config.vm.provision :chef_solo do |chef|
chef.recipe_url = "http://cloud.github.com/downloads/d0ugal/chef_recipes/cookbooks.tar.gz"
chef.cookbooks_path = [:vm, "cookbooks"]
chef.add_recipe "main"
chef.add_recipe "python"
chef.json.merge!({
:project_name => "gmmx_precios",
:system_packages => [],
:python_global_packages => [],
:python_packages => [],
})
end
end
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment