From 014e9130dbdcaa1a10db37f4af8b912e50345a92 Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Sun, 2 Oct 2011 19:23:22 -0400 Subject: [PATCH] fix grabbing kernel/ramdisk --- stack.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/stack.sh b/stack.sh index 25a6579..6956f9f 100755 --- a/stack.sh +++ b/stack.sh @@ -576,13 +576,9 @@ if [[ "$ENABLED_SERVICES" =~ "g-reg" ]]; then tar -zxf $FILES/tty.tgz -C $FILES/images # add a debugging images to glance - KERNEL_ID=glance add -A $SERVICE_TOKEN name="tty-kernel" is_public=true \ - container_format=aki disk_format=aki < $FILES/images/aki-tty/image - RAMDISK_ID=glance add -A $SERVICE_TOKEN name="tty-ramdisk" is_public=true \ - container_format=ari disk_format=ari < $FILES/images/ari-tty/image - glance add -A $SERVICE_TOKEN name="tty" is_public=true container_format=ami \ - disk_format=ami kernel_id=$KERNEL_ID \ - ramdisk_id=$RAMDISK_ID < $FILES/images/ami-tty/image + KERNEL_ID=`glance add -A $SERVICE_TOKEN name="tty-kernel" is_public=true container_format=aki disk_format=aki < $FILES/images/aki-tty/image` + RAMDISK_ID=`glance add -A $SERVICE_TOKEN name="tty-ramdisk" is_public=true container_format=ari disk_format=ari < $FILES/images/ari-tty/image` + glance add -A $SERVICE_TOKEN name="tty" is_public=true container_format=ami disk_format=ami kernel_id=$KERNEL_ID ramdisk_id=$RAMDISK_ID < $FILES/images/ami-tty/image fi # Using the cloud