pxe: path live iso

This commit is contained in:
pedro 2024-09-25 09:50:13 -03:00
parent 4416c92825
commit c62317a15c
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ extract_live_parts_for_tftp() {
url="https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-${DEBIAN_VERSION}-amd64-standard.iso"
wget "${url}" -O /tmp/live.iso
fi
mount -o loop live.iso /mnt/
mount -o loop /tmp/live.iso /mnt/
cp /mnt/live/vmlinuz "${tftp_path}/vmlinuz-live"
cp /mnt/live/initrd.img "${tftp_path}/initrd-live.img"
umount /mnt