changed more
This commit is contained in:
parent
33ac034af5
commit
991f90a362
|
@ -7,7 +7,7 @@ echo Commencing network boot
|
|||
dhcp net0 || goto dhcp
|
||||
|
||||
colour --basic 9 4
|
||||
colour --basic 1 6
|
||||
colour --basic 6 1
|
||||
|
||||
:menu
|
||||
menu Choose your favourite netboot server:
|
||||
|
@ -18,15 +18,14 @@ item --gap Gateway: ${net0/gateway}
|
|||
item --gap DNS: ${net0/dns}
|
||||
item
|
||||
item localboot Boot from local disks
|
||||
item stargazer Boot from tftp://stargazer.socialnerds.org
|
||||
item
|
||||
item stargazer Boot from tftp://stargazer.socialnerds.org
|
||||
item aecat Boot from https://boot.aec.at
|
||||
item netbootxyz Boot from https://boot.netboot.xyz
|
||||
item archlinux Boot from https://www.archlinux.org
|
||||
item
|
||||
item advanced Advanced iPXE options
|
||||
|
||||
choose --default localboot --timeout 20000 target && goto ${target}
|
||||
choose --default stargazer --timeout 10000 target && goto ${target}
|
||||
goto menu
|
||||
|
||||
:advanced
|
||||
|
@ -50,7 +49,7 @@ goto advanced
|
|||
:localboot
|
||||
echo Booting from local disks
|
||||
sleep 2
|
||||
#sanboot --no-describe --drive 0x80 || goto menu
|
||||
sanboot --no-describe --drive 0x80 || goto menu
|
||||
exit
|
||||
|
||||
:aecat
|
||||
|
@ -77,15 +76,6 @@ set conn_type http
|
|||
chain --autofree http://boot.netboot.xyz/menu.ipxe || goto menu
|
||||
exit
|
||||
|
||||
:archlinux
|
||||
echo Booting from the official Arch Linux netboot server (https://www.archlinux.org)
|
||||
sleep 2
|
||||
set conn_type https
|
||||
chain --autofree https://boot.aec.at/archlinux/netboot.pxe || echo HTTPS failed... attempting HTTP...
|
||||
set conn_type http
|
||||
chain --autofree http://boot.aec.at/archlinux/netboot.pxe || goto menu
|
||||
exit
|
||||
|
||||
:exit
|
||||
exit
|
||||
|
||||
|
|
|
@ -0,0 +1,63 @@
|
|||
#!ipxe
|
||||
|
||||
# ipxe menu (stargazer.socialnerds.org)
|
||||
|
||||
:dhcp
|
||||
dhcp net0 || goto dhcp
|
||||
|
||||
colour --basic 9 4
|
||||
colour --basic 6 1
|
||||
|
||||
# configuration
|
||||
set server_name stargazer.socialnerds.org
|
||||
set server_ip ${net0/gateway}
|
||||
set iscsi_portal 10.1.5.2
|
||||
|
||||
# loading custom ipxe menues
|
||||
#:custom
|
||||
#echo Loading custom menu for ${net0/ip}
|
||||
#chain tftp://${server_ip}/${net0/ip}.ipxe || goto menu
|
||||
#goto ${net0/ip}
|
||||
#goto custom
|
||||
|
||||
:menu
|
||||
menu stargazer.socialnerds.org (tftp://${net0/gateway})
|
||||
item --gap MAC Address: ${net0/mac}
|
||||
item --gap IP Address: ${net0/ip}
|
||||
item --gap Netmask: ${net0/netmask}
|
||||
item --gap Gateway: ${net0/gateway}
|
||||
item --gap DNS: ${net0/dns}
|
||||
item
|
||||
item
|
||||
item localboot Boot into SolusOS
|
||||
item archlinux Boot into Archlinux
|
||||
item windows81 Boot into Windows 8.1
|
||||
item
|
||||
|
||||
choose target && goto ${target}
|
||||
goto menu
|
||||
|
||||
|
||||
:solusos
|
||||
echo Booting into SolusOS from local SSD.
|
||||
sleep 1
|
||||
sanboot --no-describe --drive 0x80 || goto menu
|
||||
|
||||
:windows81
|
||||
echo Booting into Windows 8.1 from ISCSI.
|
||||
dhcp net1 || goto windows81
|
||||
set net1/gateway 0.0.0.0
|
||||
set net1/keep-san 1
|
||||
sleep 1
|
||||
sanboot --keep iscsi:${iscsi_portal}:::0:ghostwin81 || goto menu
|
||||
#sanboot --keep iscsi:${iscsi_portal}:::1:iqn.2000-01.com.synology:spacedock.ghost.e84d7761fd || goto menu
|
||||
|
||||
:archlinux
|
||||
echo Booting into Archlinux from ISCSI.
|
||||
dhcp net1 || goto archlinux
|
||||
#set net1/gateway 0.0.0.0
|
||||
#set net1/keep-san 1
|
||||
sleep 1
|
||||
sanboot --keep iscsi:${iscsi_portal}:::0:iqn.2000-01.com.synology:spacedock.ghost.e84d7761fd || goto menu
|
||||
|
||||
|
Reference in New Issue