Skip to content

Commit 8dbe67d

Browse files
committed
Add -hyperv suffix to REDI_VARIANT for Hyper-V images
Set REDI_VARIANT to {variant}-hyperv for hyperv.zip* files, matching the pattern used for qcow2 cloud images. Signed-off-by: Igor Pecovnik <igor@armbian.com>
1 parent c7d5e44 commit 8dbe67d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/generate-armbian-images-json.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,8 @@ cat "$tmpdir/a.txt" "$tmpdir/bcd.txt" >"$feed"
622622

623623
if [[ "$FILE_EXTENSION" == img.qcow2* ]]; then
624624
REDI_VARIANT="${VARIANT}-qcow2"
625+
elif [[ "$FILE_EXTENSION" == hyperv.zip* ]]; then
626+
REDI_VARIANT="${VARIANT}-hyperv"
625627
else
626628
# Append boot flavor for non-cloud images
627629
[[ -n "$BOOT_SUFFIX" ]] && REDI_VARIANT="${REDI_VARIANT}-${BOOT_SUFFIX}"

0 commit comments

Comments
 (0)