From c62317a15c804d1c072ae9376f7b63c94abb54ae Mon Sep 17 00:00:00 2001 From: pedro Date: Wed, 25 Sep 2024 09:50:13 -0300 Subject: [PATCH] pxe: path live iso --- pxe/install-pxe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pxe/install-pxe.sh b/pxe/install-pxe.sh index 0e5f631..7c831ca 100755 --- a/pxe/install-pxe.sh +++ b/pxe/install-pxe.sh @@ -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