From 3aa48941c410609e8c7759ecd0eb68505ec3d96a Mon Sep 17 00:00:00 2001 From: T0029406 Date: Fri, 3 Apr 2026 11:02:33 +0000 Subject: [PATCH] Ajouter boot-eth1.ipxe --- boot-eth1.ipxe | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 boot-eth1.ipxe diff --git a/boot-eth1.ipxe b/boot-eth1.ipxe new file mode 100644 index 0000000..4b4bad9 --- /dev/null +++ b/boot-eth1.ipxe @@ -0,0 +1,30 @@ +#!ipxe + +# Paramètres du menu +set menu-timeout 5000 +set menu-default local + +:start +menu --- RESEAU UTILISATEURS (ETH1) --- +item --key l local [L] Demarrer sur le disque dur local (Machines Physiques) +item --key s standard [S] Ubuntu RAM - Mode Standard (Securise, USB Bloque) +item --key e export [E] Ubuntu RAM - Mode Import/Export (Cles USB specifiques) +choose --timeout ${menu-timeout} --default ${menu-default} selected || goto local +goto ${selected} + +:local +echo Demarrage sur le disque dur local... +# La commande 'exit' quitte iPXE et passe au périphérique de boot suivant (le disque dur) +exit + +:standard +echo Demarrage Ubuntu Standard... +kernel http://10.0.1.1/ubuntu-ro/vmlinuz ip=dhcp url=http://10.0.1.1/ubuntu-ro/ubuntu-standard.iso toram apparmor=1 audit=1 +initrd http://10.0.1.1/ubuntu-ro/initrd +boot + +:export +echo Demarrage Ubuntu Import/Export... +kernel http://10.0.1.1/ubuntu-export/vmlinuz ip=dhcp url=http://10.0.1.1/ubuntu-export/ubuntu-export.iso toram apparmor=1 audit=1 +initrd http://10.0.1.1/ubuntu-export/initrd +boot \ No newline at end of file