From 2ff3f59e5b78c3ac54f628d6faa40c614bff6fc6 Mon Sep 17 00:00:00 2001 From: Andy Smith Date: Sun, 2 Oct 2011 21:05:01 -0300 Subject: [PATCH] TODO: fix parsing of glance results --- stack.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stack.sh b/stack.sh index 6956f9f..12bfb39 100755 --- a/stack.sh +++ b/stack.sh @@ -577,7 +577,9 @@ if [[ "$ENABLED_SERVICES" =~ "g-reg" ]]; then # 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` + KERNEL_ID=1 # FIXME: parse glance results RAMDISK_ID=`glance add -A $SERVICE_TOKEN name="tty-ramdisk" is_public=true container_format=ari disk_format=ari < $FILES/images/ari-tty/image` + RAMDISK_ID=2 # FIXME: parse glance results 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