From: "Zeeshan Ali (Khattak)" <zeeshanak@xxxxxxxxx> We make use of 'xi:include' nodes to save space since we can reuse most of win7 install script. We can't simply use the same script XML as win7 though as product key is once again mandatory in Windows 8. --- data/install-scripts/Makefile.am | 1 + data/install-scripts/windows-8-unattend.xml | 45 +++++++++++++++++++++++++++++ data/oses/windows.xml.in | 3 +- 3 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 data/install-scripts/windows-8-unattend.xml diff --git a/data/install-scripts/Makefile.am b/data/install-scripts/Makefile.am index c310468..803100c 100644 --- a/data/install-scripts/Makefile.am +++ b/data/install-scripts/Makefile.am @@ -7,6 +7,7 @@ database_DATA = \ windows-cmd.xml \ windows-reg.xml \ windows-unattend.xml \ + windows-8-unattend.xml \ $(NULL) EXTRA_DIST = $(database_DATA) diff --git a/data/install-scripts/windows-8-unattend.xml b/data/install-scripts/windows-8-unattend.xml new file mode 100644 index 0000000..5530124 --- /dev/null +++ b/data/install-scripts/windows-8-unattend.xml @@ -0,0 +1,45 @@ +<libosinfo version="0.0.1" xmlns:xi="http://www.w3.org/2001/XInclude"> + <install-script id='http://microsoft.com/windows/8/unattend/jeos'> + <profile>jeos</profile> + <path-format>dos</path-format> + <product-key-format>$$$$$-$$$$$-$$$$$-$$$$$-$$$$$</product-key-format> + <expected-filename>autounattend.xml</expected-filename> + <can-pre-install-drivers>true</can-pre-install-drivers> + <config> + <param name="admin-password" policy="optional"/> + <param name="hardware-arch" policy="optional"/> + <param name="l10n-language" policy="optional" value-map="http://microsoft.com/win/8/l10n-language-reverse"/> + <param name="user-login" policy="optional"/> + <param name="user-password" policy="optional"/> + <param name="user-realname" policy="optional"/> + <param name="reg-product-key" policy="required"/> + <param name="target-disk" policy="optional"/> + <param name="pre-install-drivers-disk" policy="optional"/> + <param name="pre-install-drivers-location" policy="optional"/> + </config> + <xi:include href="windows-unattend.xml" parse="xml" xpointer="xpointer(/libosinfo/install-script[1]/template)"/> + </install-script> + + <!-- DESKTOP PROFILE --> + <install-script id='http://microsoft.com/windows/8/unattend/desktop'> + <profile>desktop</profile> + <path-format>dos</path-format> + <product-key-format>$$$$$-$$$$$-$$$$$-$$$$$-$$$$$</product-key-format> + <expected-filename>autounattend.xml</expected-filename> + <can-pre-install-drivers>true</can-pre-install-drivers> + <config> + <param name="admin-password" policy="optional"/> + <param name="hardware-arch" policy="required"/> + <param name="l10n-language" policy="optional" value-map="http://microsoft.com/win/8/l10n-language-reverse"/> + <param name="user-login" policy="optional"/> + <param name="user-password" policy="optional"/> + <param name="user-realname" policy="optional"/> + <param name="hostname" policy="required"/> + <param name="reg-product-key" policy="required"/> + <param name="target-disk" policy="optional"/> + <param name="pre-install-drivers-disk" policy="optional"/> + <param name="pre-install-drivers-location" policy="optional"/> + </config> + <xi:include href="windows-unattend.xml" parse="xml" xpointer="xpointer(/libosinfo/install-script[2]/template)"/> + </install-script> +</libosinfo> diff --git a/data/oses/windows.xml.in b/data/oses/windows.xml.in index 93b8556..3afcf93 100644 --- a/data/oses/windows.xml.in +++ b/data/oses/windows.xml.in @@ -865,7 +865,8 @@ </devices> <installer> - <script id='http://microsoft.com/windows/unattend'/> + <script id='http://microsoft.com/windows/8/unattend/jeos'/> + <script id='http://microsoft.com/windows/8/unattend/desktop'/> </installer> </os> -- 1.8.1.2 _______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo