pxe: fix wrong cp
This commit is contained in:
parent
086d0da3d6
commit
5aae459ca4
|
@ -53,8 +53,8 @@ extract_live_parts_for_tftp() {
|
||||||
wget "${url}" -O /tmp/live.iso
|
wget "${url}" -O /tmp/live.iso
|
||||||
fi
|
fi
|
||||||
mount -o loop /tmp/live.iso /mnt/
|
mount -o loop /tmp/live.iso /mnt/
|
||||||
cp /mnt/live/vmlinuz "${tftp_path}/vmlinuz-live"
|
cp /mnt/live/vmlinuz "${tftp_path}/"
|
||||||
cp /mnt/live/initrd.img "${tftp_path}/initrd-live.img"
|
cp /mnt/live/initrd.img "${tftp_path}/"
|
||||||
umount /mnt
|
umount /mnt
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue