소스 검색

Attempt other potential case changes for Windows

WinPE and Win 10 can sometimes have variations on case,
so we attempt to load those variations.  To ensure it
always just works, ensure the files are lower case when
hosting the bits somewhere.
Antony Messerli 5 년 전
부모
커밋
2934261511
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      roles/netbootxyz/templates/menu/windows.ipxe.j2

+ 4 - 2
roles/netbootxyz/templates/menu/windows.ipxe.j2

@@ -46,8 +46,10 @@ imgfree
 kernel {{ wimboot_location }}
 initrd -n bootmgr     ${win_base_url}/${win_arch}/bootmgr       bootmgr ||
 initrd -n bootmgr.efi ${win_base_url}/${win_arch}/bootmgr.efi   bootmgr.efi ||      
-initrd -n bcd         ${win_base_url}/${win_arch}/boot/bcd      bcd
-initrd -n boot.sdi    ${win_base_url}/${win_arch}/boot/boot.sdi boot.sdi   
+initrd -n bcd         ${win_base_url}/${win_arch}/boot/bcd      bcd ||
+initrd -n bcd         ${win_base_url}/${win_arch}/Boot/BCD      bcd ||
+initrd -n boot.sdi    ${win_base_url}/${win_arch}/boot/boot.sdi boot.sdi ||
+initrd -n boot.sdi    ${win_base_url}/${win_arch}/Boot/boot.sdi boot.sdi ||
 initrd -n boot.wim    ${win_base_url}/${win_arch}/sources/boot.wim boot.wim
 boot