diff --git a/configs/dhcpd.conf b/configs/dhcpd.conf index 758b327..f8b78ce 100644 --- a/configs/dhcpd.conf +++ b/configs/dhcpd.conf @@ -71,13 +71,13 @@ subnet 192.168.1.0 netmask 255.255.255.0 { if exists user-class and option user-class = "iPXE" { filename "http://IP/install.ipxe"; } else { - filename "ipxe/ipxe.efi"; + filename "ipxe.efi"; } } else if option arch = 00:06 { if exists user-class and option user-class = "iPXE" { filename "http://IP/install.ipxe"; } else { - filename "ipxe/ipxe32.efi"; + filename "ipxe32.efi"; } } else { if exists user-class and option user-class = "iPXE" { diff --git a/ipxe-install.sh b/ipxe-install.sh index 2a09b1a..44e26f4 100755 --- a/ipxe-install.sh +++ b/ipxe-install.sh @@ -56,7 +56,7 @@ sudo systemctl enable smbd # CREATION DES DOSSIERS DISTRIBS cd /var/lib/tftpboot -sudo mkdir -p debian-12/64 debian-12/32 debian-live-32 debian-live-64 lmde-live-32 lmde-live-64 ubuntu-live kali-live-32 kali-live-64 shredos-32 shredos-64 gparted-live-32 gparted-live-64 windows debian-live-cinnamon +sudo mkdir -p debian-12/{32,64} debian-live/{32,64} lmde-live/{32,64} ubuntu-live kali-live/{32,64} shredos/{32,64} gparted-live/{32,64} windows debian-live-cinnamon debain-13/{64,live} cd - # INSTALL DES DISTRIBS (SCRIPT MAX) @@ -69,6 +69,7 @@ sudo ./get-distribs.sh # COPIE PRESSED FOR DEBIAN 12 sudo cp ./configs/debian-12-preseed.cfg /var/lib/tftpboot/debian-12/64/ +sudo cp ./install.ipxe /srv/tftp/ # GOOD RIGHTS (voir pour windows...) sudo chown -R root:root /var/lib/tftpboot