feature: workbench pxe #2

Merged
pedro merged 83 commits from pxe into main 2024-09-28 02:19:31 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 8e4186d9d4 - Show all commits

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" 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 wget "${url}" -O /tmp/live.iso
fi 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/vmlinuz "${tftp_path}/vmlinuz-live"
cp /mnt/live/initrd.img "${tftp_path}/initrd-live.img" cp /mnt/live/initrd.img "${tftp_path}/initrd-live.img"
umount /mnt umount /mnt