Browse code

Fix oversight in container format handling

https://review.openstack.org/5934 changed the container and disk format handling,
but I forgot to reset the variables at the top of the loop (DOH!)

Change-Id: I2782c06e7b4da1b69ecb72f847a5593bda522b7d

Dean Troyer authored on 2012/03/30 06:19:42
Showing 1 changed files
... ...
@@ -1659,6 +1659,8 @@ if is_service_enabled g-reg; then
1659 1659
 
1660 1660
         KERNEL=""
1661 1661
         RAMDISK=""
1662
+        DISK_FORMAT=""
1663
+        CONTAINER_FORMAT=""
1662 1664
         case "$IMAGE_FNAME" in
1663 1665
             *.tar.gz|*.tgz)
1664 1666
                 # Extract ami and aki files