Ajouter boot-eth1.ipxe

This commit is contained in:
T0029406 2026-04-03 11:02:33 +00:00
commit 3aa48941c4

30
boot-eth1.ipxe Normal file
View File

@ -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