blob: 246ac16be3253126cdac7f0f499b17fee07aec26 [file] [log] [blame]
Anthony Young11889042012-01-12 17:11:56 -08001#!/bin/bash
2
3# Name of this guest
4GUEST_NAME=${GUEST_NAME:-ALLINONE}
5
6# Size of image
7VDI_MB=${VDI_MB:-2500}
8
9# VM Password
10GUEST_PASSWORD=${GUEST_PASSWORD:-secrete}
11
12# Our nova host's network info
13VM_IP=${VM_IP:-10.255.255.255} # A host-only ip that let's the interface come up, otherwise unused
14MGT_IP=${MGT_IP:-172.16.100.55}
15PUB_IP=${PUB_IP:-192.168.1.55}
16
17# Public network
18PUB_BR=${PUB_BR:-xenbr0}
19PUB_NETMASK=${PUB_NETMASK:-255.255.255.0}
20
21# VM network params
22VM_NETMASK=${VM_NETMASK:-255.255.255.0}
23VM_BR=${VM_BR:-xapi1}
24VM_VLAN=${VM_VLAN:-100}
25
26# MGMT network params
27MGT_NETMASK=${MGT_NETMASK:-255.255.255.0}
28MGT_BR=${MGT_BR:-xapi2}
29MGT_VLAN=${MGT_VLAN:-101}
30
31# XVA Directory
32XVA_DIR=${XVA_DIR:-xvas}
33
34# Path to xva file
35XVA=${XVA:-$XVA_DIR/$GUEST_NAME.xva }
36
37# Source params
38cd ../.. && source ./stackrc && cd $TOP_DIR