summaryrefslogtreecommitdiff
path: root/scripts/build-vmware-image
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2020-01-01 02:56:37 +0100
committerDaniil Baturin <daniil@baturin.org>2020-01-01 02:56:37 +0100
commit64277546fc9f94795fd5be043b0906770f9a2459 (patch)
treec124b629db3ce664ff96c28673b1e4eaf57884f9 /scripts/build-vmware-image
parent068db519b8fd921cbfd99673302fd567dad7408f (diff)
downloadvyos-build-64277546fc9f94795fd5be043b0906770f9a2459.tar.gz
vyos-build-64277546fc9f94795fd5be043b0906770f9a2459.zip
Use SHA1 for OVA signatures for compatibility with old VMware versions.
Diffstat (limited to 'scripts/build-vmware-image')
-rwxr-xr-xscripts/build-vmware-image4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build-vmware-image b/scripts/build-vmware-image
index 6c61f9a1..51b54137 100755
--- a/scripts/build-vmware-image
+++ b/scripts/build-vmware-image
@@ -203,10 +203,10 @@ openssl sha1 *.vmdk *.ovf > vyos_vmware_image.mf
# Convert the OVF to signed OVA...
echo 'Converting the OVF to signed OVA...'
-ovftool --privateKey=$private_key vyos_vmware_image.ovf vyos_vmware_image-signed.ova
+ovftool -o --privateKey=$private_key --shaAlgorithm=SHA1 vyos_vmware_image.ovf vyos_vmware_image-signed.ova
#ovftool vyos_vmware_image.ovf vyos_vmware_image-signed.ova
# Convert the OVF to signed OVF...
echo 'Converting the OVF to signed OVF...'
-ovftool --privateKey=$private_key vyos_vmware_image.ovf vyos_vmware_image-signed.ovf
+ovftool -o --privateKey=$private_key --shaAlgorithm=SHA1 vyos_vmware_image.ovf vyos_vmware_image-signed.ovf
#ovftool vyos_vmware_image.ovf vyos_vmware_image-signed.ovf