1188904e |
#!/bin/bash
|
d8f1a87a |
#
# XenServer specific defaults for the /tools/xen/ scripts
# Similar to stackrc, you can override these in your localrc
#
|
1188904e |
# Name of this guest |
0af143b3 |
GUEST_NAME=${GUEST_NAME:-DevStackOSDomU} |
1188904e |
# Size of image |
0af143b3 |
VDI_MB=${VDI_MB:-5000} |
daadf744 |
OSDOMU_MEM_MB=1024 |
1188904e |
# VM Password
GUEST_PASSWORD=${GUEST_PASSWORD:-secrete}
|
d8f1a87a |
# Host Interface, i.e. the interface on the nova vm you want to expose the
# services on. Usually eth2 (management network) or eth3 (public network) and |
daadf744 |
# not eth0 (private network with XenServer host) or eth1 (VM traffic network) |
d8f1a87a |
# This is also used as the interface for the Ubuntu install |
daadf744 |
HOST_IP_IFACE=${HOST_IP_IFACE:-eth3} |
b1153412 |
|
d8f1a87a |
# |
b1153412 |
# Our nova host's network info |
d8f1a87a |
#
# A host-only ip that let's the interface come up, otherwise unused
VM_IP=${VM_IP:-10.255.255.255} |
1188904e |
MGT_IP=${MGT_IP:-172.16.100.55}
PUB_IP=${PUB_IP:-192.168.1.55}
# Public network |
b1153412 |
PUB_BR=${PUB_BR:-"xenbr0"}
PUB_DEV=${PUB_DEV:-eth0}
PUB_VLAN=${PUB_VLAN:--1} |
1188904e |
PUB_NETMASK=${PUB_NETMASK:-255.255.255.0}
# VM network params
VM_NETMASK=${VM_NETMASK:-255.255.255.0} |
b1153412 |
VM_BR=${VM_BR:-""} |
1188904e |
VM_VLAN=${VM_VLAN:-100} |
b1153412 |
VM_DEV=${VM_DEV:-eth0} |
1188904e |
# MGMT network params
MGT_NETMASK=${MGT_NETMASK:-255.255.255.0} |
b1153412 |
MGT_BR=${MGT_BR:-""} |
1188904e |
MGT_VLAN=${MGT_VLAN:-101} |
b1153412 |
MGT_DEV=${MGT_DEV:-eth0} |
1188904e |
|
d8f1a87a |
# Decide if you should enable eth0,
# the guest installer network
# You need to disable this on xcp-xapi on Ubuntu 12.04 |
030fb236 |
ENABLE_GI=true
|
d8f1a87a |
# Ubuntu install settings
UBUNTU_INST_RELEASE="oneiric"
UBUNTU_INST_TEMPLATE_NAME="Ubuntu 11.10 (64-bit) for DevStack"
# For 12.04 use "precise" and update template name
# However, for 12.04, you should be using
# XenServer 6.1 and later or XCP 1.6 or later
# 11.10 is only really supported with XenServer 6.0.2 and later
UBUNTU_INST_ARCH="amd64"
UBUNTU_INST_REPOSITORY="http://archive.ubuntu.net/ubuntu"
UBUNTU_INST_LOCALE="en_US"
UBUNTU_INST_KEYBOARD="us"
# network configuration for HOST_IP_IFACE during install
UBUNTU_INST_IP="dhcp"
UBUNTU_INST_NAMESERVERS=""
UBUNTU_INST_NETMASK=""
UBUNTU_INST_GATEWAY=""
# Load stackrc defaults
# then override with settings from localrc |
1188904e |
cd ../.. && source ./stackrc && cd $TOP_DIR |