morph027 / pve-iso-2-pxe

Create PXE bootable Proxmox installation
MIT License
419 stars 91 forks source link

pve-iso-2-pxe.sh: unable to detect initrd compression method #33

Open tuxick opened 2 years ago

tuxick commented 2 years ago

On Centos7.9 'file' failed to recognize file type:

file --mime-type --brief initrd.img 
 application/octet-stream

Maybe make the script assume zstd if it fails to detect?