pxe: fix wrong cp

This commit is contained in:
pedro 2024-09-25 09:52:26 -03:00
parent 086d0da3d6
commit 5aae459ca4
1 changed files with 2 additions and 2 deletions

View File

@ -53,8 +53,8 @@ extract_live_parts_for_tftp() {
wget "${url}" -O /tmp/live.iso
fi
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"
cp /mnt/live/vmlinuz "${tftp_path}/"
cp /mnt/live/initrd.img "${tftp_path}/"
umount /mnt
}