52 lines
1.8 KiB
Plaintext
52 lines
1.8 KiB
Plaintext
#!ipxe
|
|
|
|
### VARIABLES
|
|
set menu-timeout 72000
|
|
set submenu-timeout ${menu-timeout}
|
|
isset ${menu-default} || set menu-default item1
|
|
set server_ip IP
|
|
|
|
# HS
|
|
#console --picture http://boot.ipxe.org/ipxe.png
|
|
# MENU
|
|
menu
|
|
item --gap -- - Install Menu
|
|
item --gap -- -------------DEBIAN-LIVE-64-------------
|
|
item debian-live-64 Debian-live-64
|
|
item --gap -- -------------SHREDOS-64-----------------
|
|
item shredos-64 Shredos-64 (nwipe)
|
|
item --gap -- -------------LMDE-LIVE-64---------------
|
|
item lmde-64 LMDE-live-64
|
|
item --gap -- -------------SORTIR---------------------
|
|
item shell Shell iPXE
|
|
item exit Exit
|
|
|
|
choose --timeout ${menu-timeout} --default ${menu-default} target && goto ${target}
|
|
|
|
|
|
#####################################OS-LIVE###############################################
|
|
|
|
#Paramètres de démarrage pour DEBIAN-LIVE-64 -- OK
|
|
:debian-live-64
|
|
kernel http://${server_ip}/tftpboot/debian-live-64/live/vmlinuz
|
|
initrd http://${server_ip}/tftpboot/debian-live-64/live/initrd.img
|
|
imgargs vmlinuz initrd=initrd root=/dev/nfs boot=live components netboot=nfs nfsroot=${server_ip}:/var/lib/tftpboot/debian-live-64 ip=dhcp quiet splash --
|
|
boot
|
|
|
|
#Paramètres de démarrage pour SHRED OS-64 -- OK
|
|
:shredos-64
|
|
kernel http://${server_ip}/tftpboot/shredos-64/boot/bzImage console=tty3 quiet loglevel=0
|
|
boot || goto menu
|
|
|
|
#Paramètres de démarrage pour LMDE-LIVE-64 OK
|
|
:lmde-64
|
|
kernel http://${server_ip}/tftpboot/lmde-live-64/live/vmlinuz
|
|
initrd http://${server_ip}/tftpboot/lmde-live-64/live/initrd.lz
|
|
imgargs vmlinuz initrd=initrd boot=live user=mint initrd=initrd root=/dev/nfs netboot=nfs nfsroot=${server_ip}:/var/lib/tftpboot/lmde-live-64 ip=dhcp quiet nosplash --
|
|
boot || goto menu
|
|
|
|
:shell
|
|
shell
|
|
|
|
:exit
|
|
exit |