Add an option to configure the NAT network #198

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

emerose commented Dec 29, 2011

The default VirtualBox setup uses 10.0.2.* as the NAT network — which causes problems for folks who use that IP range on their internal network. This patch makes the NAT network configurable through definition.rb, by using the --natnet1 option to VBoxManage. See http://www.virtualbox.org/manual/ch09.html#changenat for more details

Owner

jedi4ever commented Apr 16, 2012

In the new version you can pass your options to the modifyvm by adding

:virtualbox => { :vm_options => { :natnet1 => 'some value' } } to your definition.rb

https://github.com/jedi4ever/veewee/blob/master/lib/veewee/provider/virtualbox/box/helper/create.rb#L164

@jedi4ever jedi4ever closed this Apr 16, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment