From: Steven Hardy Date: Mon, 10 Sep 2012 10:03:37 +0000 (+0100) Subject: heat tools : add ephemeral disk for all flavors X-Git-Tag: 2014.1~1447 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=15a88d03e5b187b31d17a00f1b845e5a8a749502;p=openstack-build%2Fheat-build.git heat tools : add ephemeral disk for all flavors 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 --- diff --git a/tools/nova_create_flavors.sh b/tools/nova_create_flavors.sh index de62f2d9..17849c93 100755 --- a/tools/nova_create_flavors.sh +++ b/tools/nova_create_flavors.sh @@ -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