Use standard flavors

This commit is contained in:
Mate Lakat 2014-02-06 12:29:21 +00:00
parent b8252e08b5
commit 178a67d048
2 changed files with 6 additions and 2 deletions

View File

@ -7,6 +7,8 @@ KEY_NAME="$1"
KEY_PATH="$2"
IMAGE="node"
INSTANCE_NAME="$3"
FLAVOR="8GB Standard Instance"
#FLAVOR="performance1-8"
. $THISDIR/functions
@ -17,7 +19,7 @@ nova delete "$INSTANCE_NAME" || true
nova boot \
--poll \
--image "$IMAGE" \
--flavor "performance1-8" \
--flavor "$FLAVOR" \
--key-name $KEY_NAME $INSTANCE_NAME
IP=$(xitc-get-ip-address-of-instance $INSTANCE_NAME)

View File

@ -10,6 +10,8 @@ KEY_NAME="$1"
KEY_PATH="$2"
INSTANCE_NAME="$3"
NODE_IMAGE="node"
FLAVOR="8GB Standard Instance"
#FLAVOR="performance1-8"
# Use this configuration to start with a cloud image
IMAGE="62df001e-87ee-407c-b042-6f4e13f5d7e1"
@ -26,7 +28,7 @@ nova image-delete "$NODE_IMAGE" || true
nova boot \
--poll \
--image "$IMAGE" \
--flavor "performance1-8" \
--flavor "$FLAVOR" \
--key-name $KEY_NAME $INSTANCE_NAME
IP=$(xitc-get-ip-address-of-instance $INSTANCE_NAME)