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

View File

@ -29,11 +29,14 @@ END
} }
install_tftp() { install_tftp() {
# TODO creo que se puede hacer un fichero de config específico
# podría ser algo como /etc/dnsmasq.conf.d/my-pxe-server ? cat > /etc/dnsmasq.d/pxe-tftp <<END
#backup_file /etc/dnsmasq.conf port=0
cat /etc/exports <<END dhcp-range=${nfs_allowed_lan%/*},proxy
${nfs_path} ${nfs_allowed_lan}(rw,sync,no_subtree_check,no_root_squash) dhcp-boot=pxelinux.0
pxe-service=x86PC,"Network Boot",pxelinux
enable-tftp
tftp-root=/srv/tftp
END END
} }