morph027 / pve-iso-2-pxe

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

Prevent error if iso is given without a folder #11

Closed kasimon closed 4 years ago

kasimon commented 4 years ago

This change should make the BASEDIR detection much more robust by first detecting the full path to the iso (with readlink) and computing the basedir path from that (dirname).

morph027 commented 4 years ago

Jip, sure. Alway bugged me in the past, but was too lazy to put effort into the port ;) Thank you!