This branch fixes the manifest generation in OVA files (LP:1627931)

The .ova file extension was passed twice, resulting in file not found errors in
both the general case and the vagrant-specific file creation.
ubuntu/zesty
Christopher Glass 8 years ago
parent 6d8e4122e7
commit f282859477

@ -67,7 +67,7 @@ ovf_sha256=$(sha256sum ${ovf} | cut -d' ' -f1)
manifest="${scratch_d}/${prefix}.mf"
cat > "${manifest}" <<EOF
SHA256(${vmdk_f##*/})= ${vmdk_sha256}
SHA256(${ovf##*/}.ovf)= ${ovf_sha256}
SHA256(${ovf##*/})= ${ovf_sha256}
EOF
# Now create the OVA

@ -181,7 +181,7 @@ manifest="${box_d}/${prefix}.mf"
cat > "${manifest}" <<EOF
SHA256(${vmdk_f##*/})= ${vmdk_sha256}
SHA256(${cdrom_vmdk_f##*/})= ${cdrom_sha256}
SHA256(${ovf##*/}.ovf)= ${ovf_sha256}
SHA256(${ovf##*/})= ${ovf_sha256}
EOF
# Now create the box

Loading…
Cancel
Save