summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Maw <jonathan.maw@codethink.co.uk>2012-12-03 17:42:16 +0000
committerJonathan Maw <jonathan.maw@codethink.co.uk>2012-12-03 17:42:16 +0000
commit4600c6b6781387cff481ff4ae261f174df2e4a26 (patch)
tree6700488b5635d864b1e0deb1c63a478b683d2aab
parentd3f04b9de015d04fffd70387314b0367502c8d5c (diff)
downloadgenivi-initial-setup-4600c6b6781387cff481ff4ae261f174df2e4a26.tar.gz
Decompress downloaded image instead of compressing it further
-rwxr-xr-xbaserock-install-vm2
1 files changed, 1 insertions, 1 deletions
diff --git a/baserock-install-vm b/baserock-install-vm
index 74f7966..fa02880 100755
--- a/baserock-install-vm
+++ b/baserock-install-vm
@@ -50,7 +50,7 @@ if [ -e $DEVEL_IMAGE_NAME.img ]; then
echo "Development image has already been decompressed"
else
echo "Decompressing development image"
- gzip -c "$DEVEL_IMAGE_NAME.img.gz" >"$DEVEL_IMAGE_NAME.img"
+ gzip -dc "$DEVEL_IMAGE_NAME.img.gz" >"$DEVEL_IMAGE_NAME.img"
fi
# Convert the .img file into a VirtualBox .vdi and create the virtual machine