Created
October 20, 2010 18:55
-
-
Save snewman/637052 to your computer and use it in GitHub Desktop.
Get a * Base MAC address for eth0/NAT must be set. Contact box maintainer for more information. error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant::Config.run do |config| | |
config.vm.box = "lucid32" | |
config.vm.provisioner = :chef_solo | |
config.chef.cookbooks_path = "cookbooks" | |
config.chef.add_recipe("vagrant_main") | |
#config.vm.forward_port("web", 80, 4567) | |
config.vm.define :web do |web_config| | |
web_config.vm.box = "web" | |
web_config.vm.forward_port("http", 80, 8080) | |
web_config.vm.network("192.168.1.10") | |
end | |
config.vm.define :db do |db_config| | |
db_config.vm.box = "db" | |
db_config.vm.forward_port("db", 3306, 3306) | |
db_config.vm.network("192.168.1.11") | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yup - that was the problem with this one. The db_config.vm.box = "db" should read db_config.vm.box = "lucid32". This was cribbed from the vagrant wiki example, so hopefully that'll get updated.