pxe: change symlink to cp

This commit is contained in:
pedro 2024-09-25 13:05:12 -03:00
parent 5447aea9e2
commit 5aa938f195

View file

@ -54,9 +54,9 @@ END
}
extract_live_parts_for_tftp() {
ln -sfv "${PXE_DIR}/../iso/staging/live/filesystem.squashfs" "${nfs_path}/live/"
ln -sfv "${PXE_DIR}/../iso/staging/live/vmlinuz" "${tftp_path}/"
ln -sfv "${PXE_DIR}/../iso/staging/live/initrd" "${tftp_path}/"
cp -v "${PXE_DIR}/../iso/staging/live/filesystem.squashfs" "${nfs_path}/live/"
cp -v "${PXE_DIR}/../iso/staging/live/vmlinuz" "${tftp_path}/"
cp -v "${PXE_DIR}/../iso/staging/live/initrd" "${tftp_path}/"
}
install_netboot() {