From d78aa69dc85949e0a898d664fbd3bbe03aecc94f Mon Sep 17 00:00:00 2001 From: pedro Date: Wed, 25 Sep 2024 09:52:26 -0300 Subject: [PATCH] pxe: fix wrong cp --- pxe/install-pxe.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pxe/install-pxe.sh b/pxe/install-pxe.sh index 7c831ca..59ae7e6 100755 --- a/pxe/install-pxe.sh +++ b/pxe/install-pxe.sh @@ -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 }