|
2#
楼主 |
发表于 2018-3-22 13:06:16
|
只看该作者
急,menu.ipxe
#!ipxe
#下面这个5000是菜单等待时间代表5秒,
set menu-timeout 3000
set menu-default WINDOWS
isset ${ip} || dhcp
:start
menu iPXE Boot Menu
item --gap -- --------------------------------- WIN --------------------------------
item WINDOWS BOOT WINDOWS(ISCSI)
item WINmak BOOT WINmak(ISCSI)
item install install windows to ISCSI
item --gap -- ---------------------------- Advanced options -----------------------
item --key c config Configure settings -- c
item --key r reboot reboot computer -- r
item --key x exit Exit iPXE and continue BIOS boot -- x
choose --timeout ${menu-timeout} --default ${menu-default} selected
goto ${selected}
:reboot
reboot
:exit
exit
:config
config
goto start
:WINDOWS
#下面192.168.0.218换成你自己的NASIP,后面的iqn.win8换成你自己相应的target标识
sanboot iscsi:192.168.8.138::::iqn.synology:win10.workstation
:WINmak
#下面192.168.0.218换成你自己的NASIP,后面的iqn.win8换成你自己相应的target标识
sanboot iscsi:192.168.8.138::::iqn.synology:win10.mak
:install
#下面192.168.0.218换成你自己的NASIP,后面的iqn.win8换成你自己相应的target标识
sanhook iscsi:192.168.8.138::::iqn.synology:win10.workstation
exit
|
|