]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
heat tools : add ephemeral disk for all flavors
authorSteven Hardy <shardy@redhat.com>
Mon, 10 Sep 2012 10:03:37 +0000 (11:03 +0100)
committerSteven Hardy <shardy@redhat.com>
Mon, 10 Sep 2012 14:52:35 +0000 (15:52 +0100)
Add ephemeral disk for all flavors in nova_create_flavors.sh
as it's currently not possible for EBS to work without a fixed
mapping to a specific block device name, meaning the EBS templates
will break for micro/tiny if there if no ephemeral disk defined

Change-Id: I801f00aba5b431d30362cd4b34da2f66457220c5
Signed-off-by: Steven Hardy <shardy@redhat.com>
tools/nova_create_flavors.sh

index de62f2d9c0421bf43077826f526bea0978c6cb32..17849c93b350965963a57e4316e6834abc0c40bc 100755 (executable)
@@ -35,9 +35,9 @@ done
 
 # Note, horrible sleep 1's are because nova starts failing requests due
 # to rate limiting without them..
-nova flavor-create --ephemeral 0 --swap 0 --rxtx-factor 1 t1.micro 1 256 0 1
+nova flavor-create --ephemeral 10 --swap 0 --rxtx-factor 1 t1.micro 1 256 0 1
 sleep 1
-nova flavor-create --ephemeral 0 --swap 0 --rxtx-factor 1 m1.tiny 2 256 0 1
+nova flavor-create --ephemeral 10 --swap 0 --rxtx-factor 1 m1.tiny 2 256 0 1
 sleep 1
 nova flavor-create --ephemeral 10 --swap 0 --rxtx-factor 1 m1.small 3 512 0 1
 sleep 1