From bc9f4c9897b6348656201608785ea64d031904ad Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 4 Jan 2013 14:40:17 +0000 Subject: [PATCH] Add Windows 8 Enterprise templates genimage.cmd failed to correctly place the custom scripts, put extra cd to assure path is as expected git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14745 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- .../windows/enterprise.win8.x86_64.tmpl | 107 ++++++++++++++++ .../windows/enterprise.win8.x86_64.tmpl.uefi | 117 ++++++++++++++++++ .../share/xcat/netboot/windows/genimage.cmd | 1 + 3 files changed, 225 insertions(+) create mode 100755 xCAT-server/share/xcat/install/windows/enterprise.win8.x86_64.tmpl create mode 100755 xCAT-server/share/xcat/install/windows/enterprise.win8.x86_64.tmpl.uefi diff --git a/xCAT-server/share/xcat/install/windows/enterprise.win8.x86_64.tmpl b/xCAT-server/share/xcat/install/windows/enterprise.win8.x86_64.tmpl new file mode 100755 index 000000000..f7c071740 --- /dev/null +++ b/xCAT-server/share/xcat/install/windows/enterprise.win8.x86_64.tmpl @@ -0,0 +1,107 @@ + + + + + + en-US + + 0409:00000409 + en-US + en-US + + + + + + + 1 + Primary + true + + + 0 + true + + OnError + + + + + + /IMAGE/NAME + Windows 8 Enterprise + + + + 0 + 1 + + + + + true + xCAT USER + xCAT + + + + + + + #TABLE:site:key=domain:value# + #MACHINEPASSWORD# + true + + + + true + + + false + + + + + true + Remote Desktop + all + + + + + #TABLE:nodelist:$NODE:node# + #WINTIMEZONE# + + + + + + + i:\drivers\win7\x86_64\Drivers + + + + + + + + true + Other + 1 + + + + + + + Administrators + Domain Admins + + #TABLE:site:key=domain:value# + + + + + + + diff --git a/xCAT-server/share/xcat/install/windows/enterprise.win8.x86_64.tmpl.uefi b/xCAT-server/share/xcat/install/windows/enterprise.win8.x86_64.tmpl.uefi new file mode 100755 index 000000000..1c6c22908 --- /dev/null +++ b/xCAT-server/share/xcat/install/windows/enterprise.win8.x86_64.tmpl.uefi @@ -0,0 +1,117 @@ + + + + + + en-US + + 0409:00000409 + en-US + en-US + + + + + + + 1 + EFI + 50 + + + 2 + MSR + 128 + + + 3 + Primary + true + + + 0 + true + + OnError + + + + + + /IMAGE/NAME + Windows 8 Enterprise + + + + 0 + 3 + + + + + true + xCAT USER + xCAT + + + + + + + #TABLE:site:key=domain:value# + #MACHINEPASSWORD# + true + + + + true + + + false + + + + + true + Remote Desktop + all + + + + + #TABLE:nodelist:$NODE:node# + #WINTIMEZONE# + + + + + + + i:\drivers\win7\x86_64\Drivers + + + + + + + + true + Other + 1 + + + + + + + Administrators + Domain Admins + + #TABLE:site:key=domain:value# + + + + + + + diff --git a/xCAT-server/share/xcat/netboot/windows/genimage.cmd b/xCAT-server/share/xcat/netboot/windows/genimage.cmd index 52cb30ed6..ac1f7ba46 100644 --- a/xCAT-server/share/xcat/netboot/windows/genimage.cmd +++ b/xCAT-server/share/xcat/netboot/windows/genimage.cmd @@ -33,6 +33,7 @@ if [%ARCH%] EQU [amd64] copy %SystemDrive%\WinPE_%SUFFIX%\media\Boot\BCD.%SUFFI dism /mount-image /imagefile:%SystemDrive%\WinPE_%SUFFIX%\media\Sources\boot.wim /index:1 /mountdir:%SystemDrive%\WinPE_%SUFFIX%\mount +cd /d %retpath% copy startnet.cmd %SystemDrive%\WinPE_%SUFFIX%\mount\Windows\system32 copy getnextserver.exe %SystemDrive%\WinPE_%SUFFIX%\mount\Windows\system32 rem copy "%SystemDrive%\Program Files\Windows AIK\Tools\%ARCH%\imagex.exe" %SystemDrive%\WinPE_%SUFFIX%\mount\Windows\system32