summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/install/install-image4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/install/install-image b/scripts/install/install-image
index 439c6ca4..146a6560 100755
--- a/scripts/install/install-image
+++ b/scripts/install/install-image
@@ -174,6 +174,10 @@ fetch_iso_by_url ()
echo "Found it. Checking digital signature..."
minisign -V -q -p /usr/share/vyos/keys/vyos-release.minisign.pub -m ${filename} -x ${filename}.minisig
if [ $? -ne 0 ]; then
+ echo "Signature check FAILED, trying BACKUP key..."
+ minisign -V -q -p /usr/share/vyos/keys/vyos-backup.minisign.pub -m ${filename} -x ${filename}.minisig
+ fi
+ if [ $? -ne 0 ]; then
echo "Signature check FAILED."
echo -n "Do you want to continue anyway? (yes/no) [no] "
response=$(get_response "No" "Yes No Y N")