
Adds basic skeleton/structure with stubs. Changes are done as per Roger Luethi's scripts. These changes are done to incorporate various features like logging, multi-os setup etc. These scripts may also target more virtualization products like KVM, LXC down the roadmap. blueprint openstack-training-labs Change-Id: I0bb33b518080f8a9b9c0e1624f43a66337eb8278
35 lines
691 B
Plaintext
35 lines
691 B
Plaintext
# interfaces(5) file used by ifup(8) and ifdown(8)
|
|
|
|
# local loopback
|
|
auto lo
|
|
iface lo inet loopback
|
|
|
|
# VirtualBox NAT -- for Internet access to VM
|
|
auto eth2
|
|
iface eth2 inet static
|
|
|
|
# OpenStack Single Node.
|
|
|
|
# OpenStack Management Network
|
|
auto eth0
|
|
iface eth0 inet static
|
|
address 10.10.10.51
|
|
netmask 255.255.255.0
|
|
gateway 10.10.10.1
|
|
|
|
# Expose OpenStack API to External Network/Internet
|
|
auto eth1
|
|
iface eth1 inet manual
|
|
up ifconfig $IFACE 0.0.0.0 up
|
|
up ip link set $IFACE promisc on
|
|
down ip link set $IFACE promisc off
|
|
down ifconfig $IFACE down
|
|
|
|
# VM Internet Access
|
|
auto br-ex
|
|
iface br-ex inet static
|
|
address 192.168.100.51
|
|
netmask 255.255.255.0
|
|
gateway 192.168.100.1
|
|
dns-nameservers 8.8.8.8
|