Remove the ARCH field from the image name
[snf-image] / snf-image-host / create
index ebe6956..9c063ac 100755 (executable)
@@ -29,7 +29,7 @@ if [ "$IMAGE_TYPE" = custom ]; then
     image_size=\
         $($CURL -sI "$IMAGE_NAME" | grep ^Content-Length: | cut -d" " -f2)
 else
-    image_file="$IMAGE_DIR/$IMAGE_NAME-$ARCH.$IMAGE_TYPE"
+    image_file="$IMAGE_DIR/$IMAGE_NAME.$IMAGE_TYPE"
     image_size="$(stat -L -c %s "$image_file")"
 fi