Bash scrip what create PXE server on Debian 11
It create full server for Legacy and UEFI
IMPORTANT!!!
Script DELETE your curent pxelinux configuration!!!
What it can do:
- auto set the static IP (you can back to DHCP with one of the scrip
nmcli.sh
) - auto install dependency
- download Debian netboot for PXE and copy nesessey file
- set dhcp server
- set tftp server
- set isc-dhcp-server
- set lighttp
- download live Debian iso and copy nesessery file
- put it all together in PXE menu
Scrip was tested on Debian 11
by using git
git clone https://github.com/ShogoXY/auto_pxe
cd auto_pxe
chmod +x install.sh
./install.sh
or without git just using wget
wget https://raw.githubusercontent.com/ShogoXY/auto_pxe/main/wget_install.sh
chmod +x wget_install.sh
./wget_install.sh
If you want use multiple Debian live ISO
You can use just one script
./script/debian_live.sh
with 'run' permission
This script is createt in Polish language
I translate it to English version
it could be some language mistakes