Add support for GUID partition tables
[snf-image] / snf-image-helper / snf-image-helper.in
index 623e93b..afb6ee8 100644 (file)
@@ -75,6 +75,8 @@ trap '{ umount "$target"; }' ERR
 
 if [ -z "$SNF_IMAGE_PROPERTY_EXCLUDE_ALL_TASKS" ]; then
 
+    export SNF_IMAGE_RESIZE_PART="$(get_partition_to_resize "$SNF_IMAGE_DEV")"
+
     if [[ ! "$SNF_IMAGE_PROPERTY_OSFAMILY" =~ ^(linux|windows)$ ]]; then
         log_error "Supported values for OSFAMILY property are: linux|windows"
     fi