|
TinyPXE网启
例:
set menu-default win864efi
menu iPXE EFI Boot Menu
#console --x 800 --y 600 --picture http://${next-server}/ipxe.png --left 30 --right 450 --top 30
item win864efi 1.Yigeren Win8x64PE
item win10x64efi 2.Yigeren Win10x64PE
item reboot 3.ReBoot Computer
choose --timeout ${menu-timeout} --default ${menu-default} selected
goto ${selected}
:win864efi
set username yigeren
login
iseq ${username} yigeren || goto reboot #登录用户名:yigeren
iseq ${password} 123456 || goto reboot #登录密码:123456,输入错误电脑重启
kernel http://${next-server}/wimboot
initrd http://${next-server}/boot/bootx64.efi bootx64.efi
initrd http://${next-server}/efi/microsoft/boot/864 864
initrd http://${next-server}/efi/microsoft/boot/fonts/chs_boot.ttf chs_boot.ttf
initrd http://${next-server}/efi/microsoft/boot/fonts/wgl4_boot.ttf wgl4_boot.ttf
initrd http://${next-server}/boot/boot.sdi boot.sdi
initrd http://${next-server}/boot/Win864PE.wim Win864PE.wim
boot || goto failed
PS:这个只防不懂电脑的,因为密码命令不支持MD5加密 |
|