fix(image_to_vm): gzip vagrant's .box files

This commit is contained in:
Michael Marineau 2013-08-01 22:42:37 -04:00
parent 382645945a
commit 9c88c24131

View File

@ -439,7 +439,7 @@ _write_vagrant_conf() {
--output_ovf "$ovf" \
--output_vagrant "$vfile"
tar -cf "${box}" -C "${VM_TMP_DIR}" "box.ovf" "Vagrantfile" "${dst_name}"
tar -czf "${box}" -C "${VM_TMP_DIR}" "box.ovf" "Vagrantfile" "${dst_name}"
cat > "${VM_README}" <<EOF
Vagrant >= 1.2 is required. Use something like the following to get started: