0af143b34e
Change-Id: Ia13a9c8073e59edf98415ba5b9f3a9cbd1453d32
42 lines
952 B
Bash
42 lines
952 B
Bash
#!/bin/bash
|
|
|
|
# Name of this guest
|
|
GUEST_NAME=${GUEST_NAME:-DevStackOSDomU}
|
|
|
|
# Size of image
|
|
VDI_MB=${VDI_MB:-5000}
|
|
|
|
# VM Password
|
|
GUEST_PASSWORD=${GUEST_PASSWORD:-secrete}
|
|
|
|
# Host Interface, i.e. the public facing interface on the nova vm
|
|
HOST_IP_IFACE=${HOST_IP_IFACE:-eth0}
|
|
|
|
# Our nova host's network info
|
|
VM_IP=${VM_IP:-10.255.255.255} # A host-only ip that let's the interface come up, otherwise unused
|
|
MGT_IP=${MGT_IP:-172.16.100.55}
|
|
PUB_IP=${PUB_IP:-192.168.1.55}
|
|
|
|
# Public network
|
|
PUB_BR=${PUB_BR:-"xenbr0"}
|
|
PUB_DEV=${PUB_DEV:-eth0}
|
|
PUB_VLAN=${PUB_VLAN:--1}
|
|
PUB_NETMASK=${PUB_NETMASK:-255.255.255.0}
|
|
|
|
# VM network params
|
|
VM_NETMASK=${VM_NETMASK:-255.255.255.0}
|
|
VM_BR=${VM_BR:-""}
|
|
VM_VLAN=${VM_VLAN:-100}
|
|
VM_DEV=${VM_DEV:-eth0}
|
|
|
|
# MGMT network params
|
|
MGT_NETMASK=${MGT_NETMASK:-255.255.255.0}
|
|
MGT_BR=${MGT_BR:-""}
|
|
MGT_VLAN=${MGT_VLAN:-101}
|
|
MGT_DEV=${MGT_DEV:-eth0}
|
|
|
|
OSDOMU_MEM_MB=1024
|
|
|
|
# Source params
|
|
cd ../.. && source ./stackrc && cd $TOP_DIR
|