diff --git a/xCAT-server/lib/xcat/plugins/windows.pm b/xCAT-server/lib/xcat/plugins/windows.pm
index 7019c442f..823f6a940 100644
--- a/xCAT-server/lib/xcat/plugins/windows.pm
+++ b/xCAT-server/lib/xcat/plugins/windows.pm
@@ -12,6 +12,7 @@ use xCAT::Table;
use xCAT::Utils;
use xCAT::TableUtils;
use xCAT::SvrUtils;
+use File::stat;
use Socket;
use xCAT::MsgUtils;
use Data::Dumper;
@@ -335,26 +336,24 @@ sub mkinstall
#Call the Template class to do substitution to produce an unattend.xml file in the autoinst dir
my $tmperr;
+ unless (-r "$installdir/utils/windows/fixupunattend.vbs" and stat("$::XCATROOT/share/xcat/netboot/windows/fixupunattend.vbs")->mtime < stat("$installdir/utils/windows/fixupunattend.vbs")) {
+ mkpath("$installdir/utils/windows/");
+ copy("$::XCATROOT/share/xcat/netboot/windows/fixupunattend.vbs","$installdir/utils/windows/fixupunattend.vbs");
+ }
+ unless (-r "$installdir/utils/windows/detectefi.exe" and stat("$::XCATROOT/share/xcat/netboot/windows/detectefi.exe")->mtime < stat("$installdir/utils/windows/detectefi.exe")) {
+ mkpath("$installdir/utils/windows/");
+ copy("$::XCATROOT/share/xcat/netboot/windows/detectefi.exe","$installdir/utils/windows/detectefi.exe");
+ }
if (-r "$tmplfile")
{
$tmperr =
xCAT::Template->subvars(
$tmplfile,
- "$installroot/autoinst/$node",
+ "$installroot/autoinst/$node.xml",
$node,
0
);
}
- if (-r "$tmplfile.uefi")
- {
- $tmperr =
- xCAT::Template->subvars(
- $tmplfile.".uefi",
- "$installroot/autoinst/$node.uefi",
- $node,
- 0, undef,undef,reusemachinepass=>1,
- );
- }
if ($tmperr)
{
@@ -421,17 +420,13 @@ sub mkinstall
copy("$::XCATROOT/share/xcat/netboot/detectefi.exe","$installroot/utils/detectefi.exe");
}
open($shandle,">","$installroot/autoinst/$node.cmd");
- print $shandle "set UNATTEND=$node\r\n";
- if (-f "$installroot/utils/detectefi.exe") {
- print $shandle "i:\\utils\\detectefi.exe\r\n";
- print $shandle "if NOT ERRORLEVEL 1 set UNATTEND=$node.uefi\r\n";
- }
+ print $shandle "i:\\utils\\windows\\fixupunattend.vbs $node.xml x:\\unattend.xml\r\n";
if ($sspeed) {
$sport++;
- print $shandle "i:\\$os\\$arch\\setup /unattend:i:\\autoinst\\%UNATTEND% /emsport:COM$sport /emsbaudrate:$sspeed /noreboot\r\n";
+ print $shandle "i:\\$os\\$arch\\setup /unattend:x:\\unattend.xml /emsport:COM$sport /emsbaudrate:$sspeed /noreboot\r\n";
} else {
- print $shandle "i:\\$os\\$arch\\setup /unattend:i:\\autoinst\\%UNATTEND% /noreboot\r\n";
+ print $shandle "i:\\$os\\$arch\\setup /unattend:x:\\unattend.xml /noreboot\r\n";
}
#print $shandle "i:\\postscripts\
print $shandle 'reg load HKLM\csystem c:\windows\system32\config\system'."\r\n"; #copy installer DUID to system before boot
diff --git a/xCAT-server/share/xcat/install/hyperv/hypervisor.hyperv2012.x86_64.tmpl b/xCAT-server/share/xcat/install/hyperv/hypervisor.hyperv2012.x86_64.tmpl
index 0ff886021..2a7be74be 100644
--- a/xCAT-server/share/xcat/install/hyperv/hypervisor.hyperv2012.x86_64.tmpl
+++ b/xCAT-server/share/xcat/install/hyperv/hypervisor.hyperv2012.x86_64.tmpl
@@ -15,15 +15,9 @@
OnError
- 0
+ ==INSTALLTODISK==
true
-
-
- 1
- Primary
- true
-
-
+ ==BOOTPARTITIONS==
@@ -32,8 +26,8 @@
- 0
- 1
+ ==INSTALLTODISK==
+ ==INSTALLTOPART==
@@ -52,7 +46,7 @@
- I:\drivers\#TABLE:nodetype:$NODE:os#\#TABLE:nodetype:$NODE:arch#
+ ==INSTALLSHARE==\drivers\#TABLE:nodetype:$NODE:os#\#TABLE:nodetype:$NODE:arch#
diff --git a/xCAT-server/share/xcat/install/hyperv/hypervisor.hyperv2012.x86_64.tmpl.uefi b/xCAT-server/share/xcat/install/hyperv/hypervisor.hyperv2012.x86_64.tmpl.uefi
deleted file mode 100644
index c847e7b03..000000000
--- a/xCAT-server/share/xcat/install/hyperv/hypervisor.hyperv2012.x86_64.tmpl.uefi
+++ /dev/null
@@ -1,128 +0,0 @@
-
-
-
-
-
-
- en-US
-
- en-US
- en-US
- en-US
- 0409:00000409
-
-
-
- OnError
-
- 0
- true
-
-
- 1
- EFI
- 260
-
-
- 2
- MSR
- 128
-
-
- 3
- Primary
- true
-
-
-
-
-
- false
-
-
-
-
- 0
- 3
-
-
-
- /IMAGE/NAME
- Hyper-V Server 2012 SERVERHYPERCORE
-
-
-
-
-
- true
-
-
-
-
-
-
-
- I:\drivers\#TABLE:nodetype:$NODE:os#\#TABLE:nodetype:$NODE:arch#
-
-
-
-
-
-
-
- 32
- 1024
- 768
-
-
- true
- 1
- false
- false
-
-
-
-
- #WINACCOUNTDATA#
-
-
-
-
-
-
- 32
- 1024
- 768
-
-
-
-
- #WINADJOIN#
-
- false
-
-
- 0
-
-
-
-
- true
- Remote Desktop
- all
-
-
-
-
-
- #WINDISABLENULLADMIN#
-
-
-
- #TABLE:nodelist:$NODE:node#
- #WINTIMEZONE#
-
-
-
-
-
diff --git a/xCAT-server/share/xcat/install/windows/datacenter.win2012.x86_64.tmpl b/xCAT-server/share/xcat/install/windows/datacenter.win2012.x86_64.tmpl
index 791a703fc..476c6789b 100644
--- a/xCAT-server/share/xcat/install/windows/datacenter.win2012.x86_64.tmpl
+++ b/xCAT-server/share/xcat/install/windows/datacenter.win2012.x86_64.tmpl
@@ -15,15 +15,9 @@
OnError
- 0
+ ==INSTALLTODISK==
true
-
-
- 1
- Primary
- true
-
-
+ ==BOOTPARTITIONS==
@@ -32,8 +26,8 @@
- 0
- 1
+ ==INSTALLTODISK==
+ ==INSTALLTOPART==
@@ -53,7 +47,7 @@
- I:\drivers\#TABLE:nodetype:$NODE:os#\#TABLE:nodetype:$NODE:arch#
+ ==INSTALLSHARE==\drivers\#TABLE:nodetype:$NODE:os#\#TABLE:nodetype:$NODE:arch#
diff --git a/xCAT-server/share/xcat/install/windows/datacenter.win2012.x86_64.tmpl.uefi b/xCAT-server/share/xcat/install/windows/datacenter.win2012.x86_64.tmpl.uefi
deleted file mode 100644
index 028be4043..000000000
--- a/xCAT-server/share/xcat/install/windows/datacenter.win2012.x86_64.tmpl.uefi
+++ /dev/null
@@ -1,129 +0,0 @@
-
-
-
-
-
-
- en-US
-
- en-US
- en-US
- en-US
- 0409:00000409
-
-
-
- OnError
-
- 0
- true
-
-
- 1
- EFI
- 260
-
-
- 2
- MSR
- 128
-
-
- 3
- Primary
- true
-
-
-
-
-
- false
-
-
-
-
- 0
- 3
-
-
-
- /IMAGE/NAME
- Windows Server 2012 SERVERDATACENTER
-
-
-
-
-
- true
- #WINPRODKEY:win2012.datacenter#
-
-
-
-
-
-
-
- I:\drivers\#TABLE:nodetype:$NODE:os#\#TABLE:nodetype:$NODE:arch#
-
-
-
-
-
-
-
- 32
- 1024
- 768
-
-
- true
- 1
- false
- false
-
-
-
-
- #WINACCOUNTDATA#
-
-
-
-
-
-
- 32
- 1024
- 768
-
-
-
-
- #WINADJOIN#
-
- false
-
-
- 0
-
-
-
-
- true
- Remote Desktop
- all
-
-
-
-
-
- #WINDISABLENULLADMIN#
-
-
-
- #TABLE:nodelist:$NODE:node#
- #WINTIMEZONE#
-
-
-
-
-
diff --git a/xCAT-server/share/xcat/install/windows/enterprise.win2k8.x86_64.tmpl b/xCAT-server/share/xcat/install/windows/enterprise.win2k8.x86_64.tmpl
index aa460d47a..7a90b4e27 100644
--- a/xCAT-server/share/xcat/install/windows/enterprise.win2k8.x86_64.tmpl
+++ b/xCAT-server/share/xcat/install/windows/enterprise.win2k8.x86_64.tmpl
@@ -15,15 +15,9 @@
OnError
- 0
+ ==INSTALLTODISK==
true
-
-
- 1
- Primary
- true
-
-
+ ==BOOTPARTITIONS==
@@ -32,7 +26,7 @@
- 0
+ ==INSTALLTODISK==
1
@@ -58,7 +52,7 @@
- I:\drivers\#TABLE:nodetype:$NODE:os#\#TABLE:nodetype:$NODE:arch#
+ ==INSTALLSHARE==\drivers\#TABLE:nodetype:$NODE:os#\#TABLE:nodetype:$NODE:arch#
@@ -119,5 +113,4 @@
-
diff --git a/xCAT-server/share/xcat/install/windows/enterprise.win2k8r2.x86_64.tmpl b/xCAT-server/share/xcat/install/windows/enterprise.win2k8r2.x86_64.tmpl
index 230b0fab8..90d9b645e 100644
--- a/xCAT-server/share/xcat/install/windows/enterprise.win2k8r2.x86_64.tmpl
+++ b/xCAT-server/share/xcat/install/windows/enterprise.win2k8r2.x86_64.tmpl
@@ -15,15 +15,9 @@
OnError
- 0
+ ==INSTALLTODISK==
true
-
-
- 1
- Primary
- true
-
-
+ ==BOOTPARTITIONS==
@@ -32,8 +26,8 @@
- 0
- 1
+ ==INSTALLTODISK==
+ INSTALLTOPART==
@@ -47,6 +41,7 @@
true
xCAT USER
xCAT
+ #WINPRODKEY:win2k8r2.enterprise#
@@ -54,7 +49,7 @@
- I:\drivers\#TABLE:nodetype:$NODE:os#\#TABLE:nodetype:$NODE:arch#
+ ==INSTALLSHARE==\drivers\#TABLE:nodetype:$NODE:os#\#TABLE:nodetype:$NODE:arch#
@@ -75,10 +70,7 @@
-
- #TABLE:passwd:key=system,username=Administrator:password#
- true
-
+ #WINACCOUNTDATA#
@@ -92,6 +84,7 @@
+ #WINADJOIN#
false
@@ -108,14 +101,15 @@
+
+ #WINDISABLENULLADMIN#
+
#TABLE:nodelist:$NODE:node#
#WINTIMEZONE#
- #TABLE:prodkey:$NODE,product=win2k8r2.enterprise:key#
-
diff --git a/xCAT-server/share/xcat/install/windows/enterprise.win2k8r2.x86_64.tmpl.uefi b/xCAT-server/share/xcat/install/windows/enterprise.win2k8r2.x86_64.tmpl.uefi
deleted file mode 100644
index aee08c8a8..000000000
--- a/xCAT-server/share/xcat/install/windows/enterprise.win2k8r2.x86_64.tmpl.uefi
+++ /dev/null
@@ -1,131 +0,0 @@
-
-
-
-
-
-
- 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#
-
-
-
-
-
-
-
- 32
- 1024
- 768
-
-
- true
- 1
- false
- false
-
-
-
-
-
- #TABLE:passwd:key=system,username=Administrator:password#
- true
-
-
-
-
-
-
-
- 32
- 1024
- 768
-
-
-
-
-
- false
-
-
- 0
-
-
-
-
- true
- Remote Desktop
- all
-
-
-
-
-
-
- #TABLE:nodelist:$NODE:node#
- #WINTIMEZONE#
- #TABLE:prodkey:$NODE,product=win2k8r2.enterprise:key#
-
-
-
-
-
-
diff --git a/xCAT-server/share/xcat/install/windows/enterprise.win7.x86_64.tmpl b/xCAT-server/share/xcat/install/windows/enterprise.win7.x86_64.tmpl
index e3ccd00c7..2d7ef8086 100755
--- a/xCAT-server/share/xcat/install/windows/enterprise.win7.x86_64.tmpl
+++ b/xCAT-server/share/xcat/install/windows/enterprise.win7.x86_64.tmpl
@@ -12,14 +12,8 @@
-
-
- 1
- Primary
- true
-
-
- 0
+ ==INSTALLTODISK==
+ ==BOOTPARTITIONS==
true
OnError
@@ -33,26 +27,19 @@
- 0
- 1
+ ==INSTALLTODISK==
+ ==INSTALLTOPART==
true
- xCAT USER
- xCAT
+ #WINPRODKEY:win7.enterprise#
-
-
- #TABLE:site:key=domain:value#
- #MACHINEPASSWORD#
- true
-
-
+ #WINADJOIN#
true
@@ -68,6 +55,11 @@
+
+
+ #WINDISABLENULLADMIN#
+
+
#TABLE:nodelist:$NODE:node#
#WINTIMEZONE#
@@ -77,7 +69,7 @@
- i:\drivers\win7\x86_64
+ ==INSTALLSHARE==\drivers\win7\x86_64
@@ -91,17 +83,8 @@
-
-
-
- Administrators
- Domain Admins
-
- #TABLE:site:key=domain:value#
-
-
+ #WINACCOUNTDATA#
-
diff --git a/xCAT-server/share/xcat/install/windows/enterprise.win7.x86_64.tmpl.uefi b/xCAT-server/share/xcat/install/windows/enterprise.win7.x86_64.tmpl.uefi
deleted file mode 100755
index 33a4325d9..000000000
--- a/xCAT-server/share/xcat/install/windows/enterprise.win7.x86_64.tmpl.uefi
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
- en-US
-
- 0409:00000409
- en-US
- en-US
-
-
-
-
-
-
- 1
- EFI
- 50
-
-
- 2
- MSR
- 128
-
-
- 3
- Primary
- true
-
-
- 0
- true
-
- OnError
-
-
-
-
-
- /IMAGE/NAME
- Windows 7 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
-
-
-
-
-
-
-
- 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 b/xCAT-server/share/xcat/install/windows/enterprise.win8.x86_64.tmpl
index 8c2ee4315..f1dcc37e8 100755
--- a/xCAT-server/share/xcat/install/windows/enterprise.win8.x86_64.tmpl
+++ b/xCAT-server/share/xcat/install/windows/enterprise.win8.x86_64.tmpl
@@ -12,14 +12,8 @@
-
-
- 1
- Primary
- true
-
-
- 0
+ ==BOOTPARTITIONS==
+ ==INSTALLTODISK==
true
OnError
@@ -33,26 +27,19 @@
- 0
- 1
+ ==INSTALLTODISK==
+ ==INSTALLTOPART==
true
- xCAT USER
- xCAT
+ #WINPRODKEY:win8.enterprise#
-
-
- #TABLE:site:key=domain:value#
- #MACHINEPASSWORD#
- true
-
-
+ #WINADJOIN#
true
@@ -68,6 +55,11 @@
+
+
+ #WINDISABLENULLADMIN#
+
+
#TABLE:nodelist:$NODE:node#
#WINTIMEZONE#
@@ -77,7 +69,7 @@
- i:\drivers\win7\x86_64
+ ==INSTALLSHARE==\drivers\win8\x86_64
@@ -91,17 +83,8 @@
-
-
-
- Administrators
- Domain Admins
-
- #TABLE:site:key=domain:value#
-
-
+ #WINACCOUNTDATA#
-
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
deleted file mode 100755
index c9c2b05fe..000000000
--- a/xCAT-server/share/xcat/install/windows/enterprise.win8.x86_64.tmpl.uefi
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
- 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
-
-
-
-
-
-
-
- true
- Other
- 1
-
-
-
-
-
-
- Administrators
- Domain Admins
-
- #TABLE:site:key=domain:value#
-
-
-
-
-
-
-
diff --git a/xCAT-server/share/xcat/install/windows/enterprise_ad.win2k8r2.x86_64.tmpl b/xCAT-server/share/xcat/install/windows/enterprise_ad.win2k8r2.x86_64.tmpl
index 181dbcc55..e5fce6997 100644
--- a/xCAT-server/share/xcat/install/windows/enterprise_ad.win2k8r2.x86_64.tmpl
+++ b/xCAT-server/share/xcat/install/windows/enterprise_ad.win2k8r2.x86_64.tmpl
@@ -15,15 +15,9 @@
OnError
- 0
+ ==INSTALLTODISK==
true
-
-
- 1
- Primary
- true
-
-
+ ==BOOTPARTITIONS==
@@ -32,8 +26,8 @@
- 0
- 1
+ ==INSTALLTODISK==
+ ==INSTALLTOPART==
@@ -54,7 +48,7 @@
- I:\drivers\#TABLE:nodetype:$NODE:os#\#TABLE:nodetype:$NODE:arch#
+ ==INSTALLSHARE==\drivers\#TABLE:nodetype:$NODE:os#\#TABLE:nodetype:$NODE:arch#
@@ -134,5 +128,4 @@
-
diff --git a/xCAT-server/share/xcat/install/windows/enterprise_ad.win2k8r2.x86_64.tmpl.uefi b/xCAT-server/share/xcat/install/windows/enterprise_ad.win2k8r2.x86_64.tmpl.uefi
deleted file mode 100644
index 3927a90d2..000000000
--- a/xCAT-server/share/xcat/install/windows/enterprise_ad.win2k8r2.x86_64.tmpl.uefi
+++ /dev/null
@@ -1,148 +0,0 @@
-
-
-
-
-
-
- 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#
-
-
-
-
-
-
-
- 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#
- #WINTIMEZONE#
-
-
-
-
-
-
diff --git a/xCAT-server/share/xcat/install/windows/standard.win2012.x86_64.tmpl b/xCAT-server/share/xcat/install/windows/standard.win2012.x86_64.tmpl
index 0b6093e38..71cd0da07 100644
--- a/xCAT-server/share/xcat/install/windows/standard.win2012.x86_64.tmpl
+++ b/xCAT-server/share/xcat/install/windows/standard.win2012.x86_64.tmpl
@@ -15,15 +15,9 @@
OnError
- 0
+ ==INSTALLTODISK==
true
-
-
- 1
- Primary
- true
-
-
+ ==BOOTPARTITIONS==
@@ -32,8 +26,8 @@
- 0
- 1
+ ==INSTALLTODISK==
+ ==INSTALLTOPART==
@@ -53,7 +47,7 @@
- I:\drivers\#TABLE:nodetype:$NODE:os#\#TABLE:nodetype:$NODE:arch#
+ ==INSTALLSHARE==\drivers\#TABLE:nodetype:$NODE:os#\#TABLE:nodetype:$NODE:arch#
diff --git a/xCAT-server/share/xcat/install/windows/standard.win2012.x86_64.tmpl.uefi b/xCAT-server/share/xcat/install/windows/standard.win2012.x86_64.tmpl.uefi
deleted file mode 100644
index 14a3c3241..000000000
--- a/xCAT-server/share/xcat/install/windows/standard.win2012.x86_64.tmpl.uefi
+++ /dev/null
@@ -1,129 +0,0 @@
-
-
-
-
-
-
- en-US
-
- en-US
- en-US
- en-US
- 0409:00000409
-
-
-
- OnError
-
- 0
- true
-
-
- 1
- EFI
- 260
-
-
- 2
- MSR
- 128
-
-
- 3
- Primary
- true
-
-
-
-
-
- false
-
-
-
-
- 0
- 3
-
-
-
- /IMAGE/NAME
- Windows Server 2012 SERVERSTANDARD
-
-
-
-
-
- true
- #WINPRODKEY:win2012.standard#
-
-
-
-
-
-
-
- I:\drivers\#TABLE:nodetype:$NODE:os#\#TABLE:nodetype:$NODE:arch#
-
-
-
-
-
-
-
- 32
- 1024
- 768
-
-
- true
- 1
- false
- false
-
-
-
-
- #WINACCOUNTDATA#
-
-
-
-
-
-
- 32
- 1024
- 768
-
-
-
-
- #WINADJOIN#
-
- false
-
-
- 0
-
-
-
-
- true
- Remote Desktop
- all
-
-
-
-
-
- #WINDISABLENULLADMIN#
-
-
-
- #TABLE:nodelist:$NODE:node#
- #WINTIMEZONE#
-
-
-
-
-
diff --git a/xCAT-server/share/xcat/install/windows/standard.win2k8.x86_64.tmpl b/xCAT-server/share/xcat/install/windows/standard.win2k8.x86_64.tmpl
index cd176a51b..0f1544a48 100644
--- a/xCAT-server/share/xcat/install/windows/standard.win2k8.x86_64.tmpl
+++ b/xCAT-server/share/xcat/install/windows/standard.win2k8.x86_64.tmpl
@@ -15,15 +15,9 @@
OnError
- 0
+ ==INSTALLTODISK==
true
-
-
- 1
- Primary
- true
-
-
+ ==BOOTPARTITIONS==
@@ -32,8 +26,8 @@
- 0
- 1
+ ==INSTALLTODISK==
+ ==INSTALLTOPART==
@@ -58,7 +52,7 @@
- I:\drivers\#TABLE:nodetype:$NODE:os#\#TABLE:nodetype:$NODE:arch#
+ ==INSTALLSHARE==\drivers\#TABLE:nodetype:$NODE:os#\#TABLE:nodetype:$NODE:arch#
@@ -119,5 +113,4 @@
-
diff --git a/xCAT-server/share/xcat/install/windows/ultimate.win7.x86_64.tmpl b/xCAT-server/share/xcat/install/windows/ultimate.win7.x86_64.tmpl
index 1cf2c0aaf..f4b6a8f04 100755
--- a/xCAT-server/share/xcat/install/windows/ultimate.win7.x86_64.tmpl
+++ b/xCAT-server/share/xcat/install/windows/ultimate.win7.x86_64.tmpl
@@ -12,14 +12,8 @@
-
-
- 1
- Primary
- true
-
-
- 0
+ ==BOOTPARTITIONS==
+ ==INSTALLTODISK==
true
OnError
@@ -33,30 +27,19 @@
- 0
- 1
+ ==INSTALLTODISK==
+ ==INSTALLTOPART==
true
- xCAT USER
- xCAT
-
- #TABLE:prodkey:$NODE,product=win7.ultimate:key#
- OnError
-
+ #WINPRODKEY:win7.ultimate#
-
-
- #TABLE:site:key=domain:value#
- #MACHINEPASSWORD#
- true
-
-
+ #WINADJOIN#
true
@@ -72,6 +55,11 @@
+
+
+ #WINDISABLENULLADMIN#
+
+
#TABLE:nodelist:$NODE:node#
#WINTIMEZONE#
@@ -81,7 +69,7 @@
- i:\drivers\win7\x86_64
+ ==INSTALLSHARE==\drivers\win7\x86_64
@@ -95,17 +83,8 @@
-
-
-
- Administrators
- Domain Admins
-
- #TABLE:site:key=domain:value#
-
-
+ #WINACCOUNTDATA#
-
diff --git a/xCAT-server/share/xcat/netboot/windows/fixupunattend.vbs b/xCAT-server/share/xcat/netboot/windows/fixupunattend.vbs
index 12bafb8c4..e9c3541c0 100644
--- a/xCAT-server/share/xcat/netboot/windows/fixupunattend.vbs
+++ b/xCAT-server/share/xcat/netboot/windows/fixupunattend.vbs
@@ -36,5 +36,6 @@ Do Until srcfile.AtEndOfStream
fline = Replace(fline,"==BOOTPARTITIONS==","1Primarytrue")
fline = Replace(fline,"==INSTALLTOPART==","1")
end if
+ fline = Replace(fline,"==INSTALLTODISK==","0")
dstfile.WriteLine(Replace(fline,"==INSTALLSHARE==",drvletter))
Loop