From 8f163ea09fe46363f82e3f88320d6bc10c2f7a71 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 19 Sep 2011 20:49:19 +0000 Subject: [PATCH] Windows install templates for UEFI mode install (sadly, we cannot reasonably make this as self-adjusting as we can Linux and ESXi) git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10558 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- .../enterprise_ad_uefi.win2k8.x86_64.tmpl | 148 ++++++++++++++++++ .../enterprise_uefi.win2k8.x86_64.tmpl | 133 ++++++++++++++++ .../windows/enterprise_uefi.win7.x86_64.tmpl | 117 ++++++++++++++ 3 files changed, 398 insertions(+) create mode 100644 xCAT-server/share/xcat/install/windows/enterprise_ad_uefi.win2k8.x86_64.tmpl create mode 100644 xCAT-server/share/xcat/install/windows/enterprise_uefi.win2k8.x86_64.tmpl create mode 100755 xCAT-server/share/xcat/install/windows/enterprise_uefi.win7.x86_64.tmpl diff --git a/xCAT-server/share/xcat/install/windows/enterprise_ad_uefi.win2k8.x86_64.tmpl b/xCAT-server/share/xcat/install/windows/enterprise_ad_uefi.win2k8.x86_64.tmpl new file mode 100644 index 000000000..13cbcba0f --- /dev/null +++ b/xCAT-server/share/xcat/install/windows/enterprise_ad_uefi.win2k8.x86_64.tmpl @@ -0,0 +1,148 @@ + + + + + + + en-US + + en-US + en-US + en-US + 0409:00000409 + + + + OnError + + 0 + true + + + 1 + EFI + 50 + + + 2 + MSR + 128 + + + 3 + Primary + true + + + + + + false + + + + + 0 + 3 + + + + /IMAGE/INDEX + 3 + + + + + + true + xCAT USER + xCAT + + + + + + + + I:\drivers\#TABLE:nodetype:$NODE:os#\#TABLE:nodetype:$NODE:arch#\Drivers + + + + + + + + 32 + 1024 + 768 + + + true + 1 + false + false + + + + + + + + Administrators + Domain Admins + + #Table:site:key=domain:value# + + + + + + + + + 32 + 1024 + 768 + + + + + + + #TABLE:site:key=domain:value# + #MACHINEPASSWORD# + true + + + + false + + + 0 + + + + + true + Remote Desktop + all + + + + + + + 100 + cmd /c %systemroot%\system32\net.exe user Administrator /active:no + + + + + #TABLE:nodelist:$NODE:node# + #TABLE:site:key=wintimezone:value# + + + + + + diff --git a/xCAT-server/share/xcat/install/windows/enterprise_uefi.win2k8.x86_64.tmpl b/xCAT-server/share/xcat/install/windows/enterprise_uefi.win2k8.x86_64.tmpl new file mode 100644 index 000000000..c50878068 --- /dev/null +++ b/xCAT-server/share/xcat/install/windows/enterprise_uefi.win2k8.x86_64.tmpl @@ -0,0 +1,133 @@ + + + + + + + en-US + + en-US + en-US + en-US + 0409:00000409 + + + + OnError + + 0 + true + + + 1 + EFI + 50 + + + 2 + MSR + 128 + + + 3 + Primary + true + + + + + + false + + + + + 0 + 3 + + + + /IMAGE/INDEX + 2 + + + + + + + OnError + #TABLE:prodkey:$NODE,product=win2k8.enterprise:key# + + true + xCAT USER + xCAT + + + + + + + + I:\drivers\#TABLE:nodetype:$NODE:os#\#TABLE:nodetype:$NODE:arch#\Drivers + + + + + + + + 32 + 1024 + 768 + + + true + 1 + false + false + + + + + + #TABLE:passwd:key=system,username=Administrator:password# + true</PlainText> + </AdministratorPassword> + </UserAccounts> + </component> + </settings> + <settings pass="auditUser"> + <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <Display> + <ColorDepth>32</ColorDepth> + <HorizontalResolution>1024</HorizontalResolution> + <VerticalResolution>768</VerticalResolution> + </Display> + </component> + </settings> + <settings pass="specialize"> + <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <fDenyTSConnections>false</fDenyTSConnections> + </component> + <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <UserAuthentication>0</UserAuthentication> + </component> + <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <FirewallGroups> + <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> + <Active>true</Active> + <Group>Remote Desktop</Group> + <Profile>all</Profile> + </FirewallGroup> + </FirewallGroups> + </component> + <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + </component> + <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <ComputerName>#TABLE:nodelist:$NODE:node#</ComputerName> + </component> + </settings> + <settings pass="auditSystem"> + </settings> + <cpi:offlineImage cpi:source="wim:i:/win2k8/x86_64/sources/install.wim#Windows Longhorn SERVERENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> +</unattend> diff --git a/xCAT-server/share/xcat/install/windows/enterprise_uefi.win7.x86_64.tmpl b/xCAT-server/share/xcat/install/windows/enterprise_uefi.win7.x86_64.tmpl new file mode 100755 index 000000000..4d52ae564 --- /dev/null +++ b/xCAT-server/share/xcat/install/windows/enterprise_uefi.win7.x86_64.tmpl @@ -0,0 +1,117 @@ +<?xml version="1.0" encoding="utf-8"?> +<unattend xmlns="urn:schemas-microsoft-com:unattend"> + <settings pass="windowsPE"> + <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <SetupUILanguage> + <UILanguage>en-US</UILanguage> + </SetupUILanguage> + <InputLocale>0409:00000409</InputLocale> + <UILanguage>en-US</UILanguage> + <UserLocale>en-US</UserLocale> + </component> + <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <DiskConfiguration> + <Disk wcm:action="add"> + <CreatePartitions> + <CreatePartition wcm:action="add"> + <Order>1</Order> + <Type>EFI</Type> + <Size>50</Size> + </CreatePartition> + <CreatePartition wcm:action="add"> + <Order>2</Order> + <Type>MSR</Type> + <Size>128</Size> + </CreatePartition> + <CreatePartition wcm:action="add"> + <Order>3</Order> + <Type>Primary</Type> + <Extend>true</Extend> + </CreatePartition> + </CreatePartitions> + <DiskID>0</DiskID> + <WillWipeDisk>true</WillWipeDisk> + </Disk> + <WillShowUI>OnError</WillShowUI> + </DiskConfiguration> + <ImageInstall> + <OSImage> + <InstallFrom> + <MetaData wcm:action="add"> + <Key>/IMAGE/NAME</Key> + <Value>Windows 7 ENTERPRISE</Value> + </MetaData> + </InstallFrom> + <InstallTo> + <DiskID>0</DiskID> + <PartitionID>3</PartitionID> + </InstallTo> + </OSImage> + </ImageInstall> + <UserData> + <AcceptEula>true</AcceptEula> + <FullName>xCAT USER</FullName> + <Organization>xCAT</Organization> + </UserData> + </component> + </settings> + <settings pass="specialize"> + <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <Identification> + <JoinDomain>#TABLE:site:key=domain:value#</JoinDomain> + <MachinePassword>#MACHINEPASSWORD#</MachinePassword> + <UnsecureJoin>true</UnsecureJoin> + </Identification> + </component> + <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <SkipAutoActivation>true</SkipAutoActivation> + </component> + <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <fDenyTSConnections>false</fDenyTSConnections> + </component> + <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <FirewallGroups> + <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> + <Active>true</Active> + <Group>Remote Desktop</Group> + <Profile>all</Profile> + </FirewallGroup> + </FirewallGroups> + </component> + <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <ComputerName>#TABLE:nodelist:$NODE:node#</ComputerName> + <TimeZone>#TABLE:site:key=wintimezone:value#</TimeZone> + </component> + </settings> + <settings pass="offlineServicing"> + <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <DriverPaths> + <PathAndCredentials wcm:action="add" wcm:keyValue="1"> + <Path>i:\drivers\win7\x86_64\Drivers</Path> + </PathAndCredentials> + </DriverPaths> + </component> + </settings> + <settings pass="oobeSystem"> + <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <OOBE> + <HideEULAPage>true</HideEULAPage> + <NetworkLocation>Other</NetworkLocation> + <ProtectYourPC>1</ProtectYourPC> + + </OOBE> + <UserAccounts> + <DomainAccounts> + <DomainAccountList wcm:action="add"> + <DomainAccount wcm:action="add"> + <Group>Administrators</Group> + <Name>Domain Admins</Name> + </DomainAccount> + <Domain>#TABLE:site:key=domain:value#</Domain> + </DomainAccountList> + </DomainAccounts> + </UserAccounts> + </component> + </settings> + <cpi:offlineImage cpi:source="wim://172.16.0.1/install/win7/x86_64/sources/install.wim#Windows 7 ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> +</unattend>