mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	Fix incorrect partition id in the Win2012 Datacenter template
Correct the disable local admin XML from Template.pm git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14987 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -265,12 +265,10 @@ sub subvars { | ||||
| sub windows_disable_null_admin {  | ||||
| #in the event where windows_account_data has not set an administrator user, we explicitly disable the administrator user  | ||||
| 	unless ($localadminenabled) { | ||||
| 		return ' | ||||
|                 <RunSynchronousCommand wcm:action=\"add\"> | ||||
|                        <Order>100</Order> | ||||
|                        <Path>cmd /c %systemroot%\system32\net.exe user Administrator /active:no</Path> | ||||
|                </RunSynchronousCommand> | ||||
| '; | ||||
| 		return "<RunSynchronousCommand wcm:action=\"add\">\r | ||||
|                        <Order>100</Order>\r | ||||
|                        <Path>cmd /c %systemroot%\\system32\\net.exe user Administrator /active:no</Path>\r | ||||
|                </RunSynchronousCommand>"; | ||||
| 	} | ||||
| 	return ""; | ||||
| } | ||||
|   | ||||
| @@ -33,7 +33,7 @@ | ||||
|                 <OSImage> | ||||
|                     <InstallTo> | ||||
|                         <DiskID>0</DiskID> | ||||
|                         <PartitionID>3</PartitionID> | ||||
|                         <PartitionID>1</PartitionID> | ||||
|                     </InstallTo> | ||||
|                     <InstallFrom> | ||||
|                         <MetaData wcm:action="add"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user