Merge pull request #39 from matelakat/update-flavors
Use standard flavors
This commit is contained in:
commit
4a79b428b8
@ -7,6 +7,7 @@ KEY_NAME="$1"
|
|||||||
KEY_PATH="$2"
|
KEY_PATH="$2"
|
||||||
IMAGE="node"
|
IMAGE="node"
|
||||||
INSTANCE_NAME="$3"
|
INSTANCE_NAME="$3"
|
||||||
|
FLAVOR="$4"
|
||||||
|
|
||||||
. $THISDIR/functions
|
. $THISDIR/functions
|
||||||
|
|
||||||
@ -17,7 +18,7 @@ nova delete "$INSTANCE_NAME" || true
|
|||||||
nova boot \
|
nova boot \
|
||||||
--poll \
|
--poll \
|
||||||
--image "$IMAGE" \
|
--image "$IMAGE" \
|
||||||
--flavor "performance1-8" \
|
--flavor "$FLAVOR" \
|
||||||
--key-name $KEY_NAME $INSTANCE_NAME
|
--key-name $KEY_NAME $INSTANCE_NAME
|
||||||
|
|
||||||
IP=$(xitc-get-ip-address-of-instance $INSTANCE_NAME)
|
IP=$(xitc-get-ip-address-of-instance $INSTANCE_NAME)
|
||||||
|
@ -10,6 +10,7 @@ KEY_NAME="$1"
|
|||||||
KEY_PATH="$2"
|
KEY_PATH="$2"
|
||||||
INSTANCE_NAME="$3"
|
INSTANCE_NAME="$3"
|
||||||
NODE_IMAGE="node"
|
NODE_IMAGE="node"
|
||||||
|
FLAVOR="$4"
|
||||||
|
|
||||||
# Use this configuration to start with a cloud image
|
# Use this configuration to start with a cloud image
|
||||||
IMAGE="62df001e-87ee-407c-b042-6f4e13f5d7e1"
|
IMAGE="62df001e-87ee-407c-b042-6f4e13f5d7e1"
|
||||||
@ -26,7 +27,7 @@ nova image-delete "$NODE_IMAGE" || true
|
|||||||
nova boot \
|
nova boot \
|
||||||
--poll \
|
--poll \
|
||||||
--image "$IMAGE" \
|
--image "$IMAGE" \
|
||||||
--flavor "performance1-8" \
|
--flavor "$FLAVOR" \
|
||||||
--key-name $KEY_NAME $INSTANCE_NAME
|
--key-name $KEY_NAME $INSTANCE_NAME
|
||||||
|
|
||||||
IP=$(xitc-get-ip-address-of-instance $INSTANCE_NAME)
|
IP=$(xitc-get-ip-address-of-instance $INSTANCE_NAME)
|
||||||
|
Loading…
Reference in New Issue
Block a user