TODO: fix parsing of glance results
This commit is contained in:
parent
014e9130db
commit
2ff3f59e5b
1 changed files with 2 additions and 0 deletions
2
stack.sh
2
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue