diff --git a/README.md b/README.md index 1723093..5fc8e14 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ Questo coso fa da gateway+dhcp+dns per una rete e tramite PXE ti permette di ins ## TODO -- [ ] le immagini ubuntu-based non aggiornano il networking e restano senza dns dopo il boot +- [x] le immagini ubuntu-based non aggiornano il networking e restano senza dns dopo il boot - [ ] finire boot debian - [ ] finire boot kali +- [ ] dividere boot.txt in 1 file per distro +- [ ] playbook ansible? pacchetto debian? diff --git a/boot.txt b/boot.txt index 91a4242..74f2426 100644 --- a/boot.txt +++ b/boot.txt @@ -77,7 +77,7 @@ chain --autofree http://boot.netboot.xyz :ubuntu echo Booting Ubuntu 22.04 (NFS) initrd ${boot-url}/mount/ubuntu-22.04.3-desktop-amd64.iso/casper/initrd -chain ${boot-url}/mount/ubuntu-22.04.3-desktop-amd64.iso/casper/vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/ubuntu-22.04.3-desktop-amd64.iso +chain ${boot-url}/mount/ubuntu-22.04.3-desktop-amd64.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/ubuntu-22.04.3-desktop-amd64.iso goto start @@ -85,73 +85,73 @@ goto start echo Booting Ubuntu 22.04 (HTTP) initrd ${boot-url}/mount/ubuntu-22.04.3-desktop-amd64.iso/casper/initrd set url http://${dhcp-server}/iso/ubuntu-22.04.3-desktop-amd64.iso -chain ${boot-url}/mount/ubuntu-22.04.3-desktop-amd64.iso/casper/vmlinuz ip=dhcp boot=casper netboot=url url=${url} initrd=initrd +chain ${boot-url}/mount/ubuntu-22.04.3-desktop-amd64.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=url url=${url} initrd=initrd goto start :popos echo Booting POP OS 22.04 (NFS) initrd ${boot-url}/mount/pop-os_22.04_amd64_intel_4.iso/casper/initrd.gz -chain ${boot-url}/mount/pop-os_22.04_amd64_intel_4.iso/casper/vmlinuz.efi ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/pop-os_22.04_amd64_intel_4.iso +chain ${boot-url}/mount/pop-os_22.04_amd64_intel_4.iso/casper/vmlinuz.efi ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/pop-os_22.04_amd64_intel_4.iso goto start :popos-nvidia echo Booting POP OS 22.04 - nvidia (NFS) initrd ${boot-url}/mount/pop-os_22.04_amd64_nvidia_4.iso/casper/initrd.gz -chain ${boot-url}/mount/pop-os_22.04_amd64_nvidia_4.iso/casper/vmlinuz.efi ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/pop-os_22.04_amd64_nvidia_4.iso +chain ${boot-url}/mount/pop-os_22.04_amd64_nvidia_4.iso/casper/vmlinuz.efi ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/pop-os_22.04_amd64_nvidia_4.iso goto start :elementary echo Booting Elementary OS 7 (NFS) initrd ${boot-url}/mount/elementaryos-7.1-stable.20230926rc.iso/casper/initrd.lz -chain ${boot-url}/mount/elementaryos-7.1-stable.20230926rc.iso/casper/vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/elementaryos-7.1-stable.20230926rc.iso +chain ${boot-url}/mount/elementaryos-7.1-stable.20230926rc.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/elementaryos-7.1-stable.20230926rc.iso goto start :mint-cinnamon echo Booting Linuxmint 21.2 cinnamon (NFS) initrd ${boot-url}/mount/linuxmint-21.2-cinnamon-64bit.iso/casper/initrd.lz -chain ${boot-url}/mount/linuxmint-21.2-cinnamon-64bit.iso/casper/vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/linuxmint-21.2-cinnamon-64bit.iso +chain ${boot-url}/mount/linuxmint-21.2-cinnamon-64bit.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/linuxmint-21.2-cinnamon-64bit.iso goto start :mint-xfce echo Booting Linuxmint 21.2 xfce (NFS) initrd ${boot-url}/mount/linuxmint-21.2-xfce-64bit.iso/casper/initrd.lz -chain ${boot-url}/mount/linuxmint-21.2-xfce-64bit.iso/casper/vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/linuxmint-21.2-xfce-64bit.iso +chain ${boot-url}/mount/linuxmint-21.2-xfce-64bit.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/linuxmint-21.2-xfce-64bit.iso goto start :mint-mate echo Booting Linuxmint 21.2 mate (NFS) initrd ${boot-url}/mount/linuxmint-21.2-mate-64bit.iso/casper/initrd.lz -chain ${boot-url}/mount/linuxmint-21.2-mate-64bit.iso/casper/vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/linuxmint-21.2-mate-64bit.iso +chain ${boot-url}/mount/linuxmint-21.2-mate-64bit.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/linuxmint-21.2-mate-64bit.iso goto start :mint-lmde echo Booting Linuxmint Debian Edition 6 (NFS) initrd ${boot-url}/mount/lmde-6-cinnamon-64bit.iso/casper/initrd.lz -chain ${boot-url}/mount/lmde-6-cinnamon-64bit.iso/casper/vmlinuz ip=dhcp boot=live live-config live-media-path=/casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/lmde-6-cinnamon-64bit.iso +chain ${boot-url}/mount/lmde-6-cinnamon-64bit.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=live live-config live-media-path=/casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/lmde-6-cinnamon-64bit.iso goto start :xubuntu echo Booting XUbuntu 22.04 (NFS) initrd ${boot-url}/mount/xubuntu-22.04.3-desktop-amd64.iso/casper/initrd -chain ${boot-url}/mount/xubuntu-22.04.3-desktop-amd64.iso/casper/vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/xubuntu-22.04.3-desktop-amd64.iso +chain ${boot-url}/mount/xubuntu-22.04.3-desktop-amd64.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/xubuntu-22.04.3-desktop-amd64.iso goto start :lubuntu echo Booting LUbuntu 22.04 (NFS) initrd ${boot-url}/mount/lubuntu-22.04.3-desktop-amd64.iso/casper/initrd -chain ${boot-url}/mount/lubuntu-22.04.3-desktop-amd64.iso/casper/vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/lubuntu-22.04.3-desktop-amd64.iso +chain ${boot-url}/mount/lubuntu-22.04.3-desktop-amd64.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/lubuntu-22.04.3-desktop-amd64.iso goto start :zorin-core echo Booting Zorin OS 16.3 Core (NFS) initrd ${boot-url}/mount/Zorin-OS-16.3-Core-64-bit.iso/casper/initrd.lz4 -chain ${boot-url}/mount/Zorin-OS-16.3-Core-64-bit.iso/casper/vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/Zorin-OS-16.3-Core-64-bit.iso +chain ${boot-url}/mount/Zorin-OS-16.3-Core-64-bit.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/Zorin-OS-16.3-Core-64-bit.iso goto start :zorin-lite echo Booting Zorin OS 16.3 Lite (NFS) initrd ${boot-url}/mount/Zorin-OS-16.3-Lite-64-bit.iso/casper/initrd.lz4 -chain ${boot-url}/mount/Zorin-OS-16.3-Lite-64-bit.iso/casper/vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/Zorin-OS-16.3-Lite-64-bit.iso +chain ${boot-url}/mount/Zorin-OS-16.3-Lite-64-bit.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/Zorin-OS-16.3-Lite-64-bit.iso goto start :fedora