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 2 additions and 2 deletions
Showing only changes of commit 8e4186d9d4 - Show all commits

View File

@ -10,7 +10,7 @@ set -x
install_dependencies() {
apt update
apt install -y wget dnsmasq nfs-kernel-server
apt install -y wget dnsmasq nfs-kernel-server rsync
}
backup_file() {
@ -56,7 +56,7 @@ END
extract_live_parts_for_tftp() {
cp -fv "${PXE_DIR}/../iso/staging/live/vmlinuz" "${tftp_path}/"
cp -fv "${PXE_DIR}/../iso/staging/live/initrd" "${tftp_path}/"
ln -sfv "${nfs_path}/live/" "${PXE_DIR}/../iso/staging/live/filesystem.squashfs"
rsync -av "${PXE_DIR}/../iso/staging/live/filesystem.squashfs" "${nfs_path}/live/"
}
install_netboot() {