From 15a88d03e5b187b31d17a00f1b845e5a8a749502 Mon Sep 17 00:00:00 2001 From: Steven Hardy Date: Mon, 10 Sep 2012 11:03:37 +0100 Subject: [PATCH] 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 --- tools/nova_create_flavors.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.45.2