projects
/
snf-image
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove the ARCH field from the image name
[snf-image]
/
snf-image-host
/
create
diff --git
a/snf-image-host/create
b/snf-image-host/create
index
ebe6956
..
9c063ac
100755
(executable)
--- a/
snf-image-host/create
+++ b/
snf-image-host/create
@@
-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