pxe: path live iso
This commit is contained in:
parent
3113a3f9c2
commit
086d0da3d6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue