summaryrefslogtreecommitdiff
path: root/data/install-scripts/windows-reg.xml
blob: c7bfa274fed5fceee5eb47eb5ad65ce243e7dec8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<libosinfo version="0.0.1">
  <!-- DESKTOP PROFILE -->
  <install-script id='http://microsoft.com/windows/reg/desktop'>
    <profile>desktop</profile>
    <path-format>dos</path-format>
    <expected-filename>windows.reg</expected-filename>
    <config>
      <param name="admin-password" policy="optional"/>
      <param name="user-realname" policy="required"/>
    </config>
    <injection-method>floppy</injection-method>
    <template>
      <xsl:stylesheet
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
        version="1.0">

        <xsl:output method="text"/>

	<xsl:template match="/install-script-config">
Windows Registry Editor Version 5.00.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="<xsl:value-of select="config/user-realname"/>"
"DefaultPassword"="<xsl:value-of select="config/admin-password"/>"
"AutoAdminLogon"="1"
	</xsl:template>
      </xsl:stylesheet>
    </template>
  </install-script>
</libosinfo>