uksysadmin / OpenStackInstaller

Simple OpenStack Installer Script
http://www.hybridclouds.co.uk/
69 stars 33 forks source link

vbox-create-networks.sh overwrites interfaces #16

Open PerilousApricot opened 11 years ago

PerilousApricot commented 11 years ago

Hello,

vbox-create-networks.sh appears to do the following:

# Private Network vboxnet1 (10.0.0.0/8)
VBoxManage hostonlyif create
VBoxManage hostonlyif ipconfig vboxnet1 --ip 10.0.0.254 --netmask 255.0,0.0

# Private Network vboxnet2 (192.168.57.0/8)
VBoxManage hostonlyif create
VBoxManage hostonlyif ipconfig vboxnet1 --ip 192.168.57.1 --netmask 255.255.255.0

But the 2nd hostonlyif should be vboxnet2, right? Unfortunately, my machine I'm testing with has multiple NICs that end up conflicting with two of these ip ranges, so it's a bit difficult tot test