30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
#!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 |