Only download EFI and OcBinaryData if using libguestfs to make a bootable image.

This commit is contained in:
sickcodes 2021-03-22 14:26:10 +00:00
parent 66799e33d2
commit 8c61f5cafd

View file

@ -384,7 +384,9 @@ EOF
[ -d "${OUTPUT_DIRECTORY}" ] || mkdir -p "${OUTPUT_DIRECTORY}" [ -d "${OUTPUT_DIRECTORY}" ] || mkdir -p "${OUTPUT_DIRECTORY}"
[ -e ./macserial ] || build_mac_serial [ -e ./macserial ] || build_mac_serial
download_vendor_mac_addresses download_vendor_mac_addresses
if [ "${CREATE_BOOTDISKS}" ] || [ "${OUTPUT_BOOTDISK}" ]; then
download_qcow_efi_folder download_qcow_efi_folder
fi
generate_serial_sets generate_serial_sets
echo "${SERIAL_SETS_FILE}" echo "${SERIAL_SETS_FILE}"
} }