Re: [PATCH] Add unattended_install files including win2003,winvista,win2008,win7 for kvm test.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok, I wanted to take a brief look at the files before I commit them.
Looks good, I've applied the patchset. Thank you very much!

On Thu, Jan 7, 2010 at 6:31 AM, sshang <sshang@xxxxxxxxxx> wrote:
>
> Signed-off-by: sshang <sshang@xxxxxxxxxx>
> ---
>  client/tests/kvm/unattended/win2003-32.sif         |   62 +++++++++
>  client/tests/kvm/unattended/win2003-64.sif         |   61 +++++++++
>  .../kvm/unattended/win2008-32-autounattend.xml     |  139 +++++++++++++++++++
>  .../kvm/unattended/win2008-64-autounattend.xml     |  143 ++++++++++++++++++++
>  .../kvm/unattended/win2008-r2-autounattend.xml     |  143 ++++++++++++++++++++
>  .../tests/kvm/unattended/win7-32-autounattend.xml  |  142 +++++++++++++++++++
>  .../tests/kvm/unattended/win7-64-autounattend.xml  |  143 ++++++++++++++++++++
>  .../kvm/unattended/winvista-32-autounattend.xml    |  136 +++++++++++++++++++
>  .../kvm/unattended/winvista-64-autounattend.xml    |  138 +++++++++++++++++++
>  9 files changed, 1107 insertions(+), 0 deletions(-)
>  create mode 100755 client/tests/kvm/unattended/win2003-32.sif
>  create mode 100644 client/tests/kvm/unattended/win2003-64.sif
>  create mode 100644 client/tests/kvm/unattended/win2008-32-autounattend.xml
>  create mode 100644 client/tests/kvm/unattended/win2008-64-autounattend.xml
>  create mode 100644 client/tests/kvm/unattended/win2008-r2-autounattend.xml
>  create mode 100644 client/tests/kvm/unattended/win7-32-autounattend.xml
>  create mode 100644 client/tests/kvm/unattended/win7-64-autounattend.xml
>  create mode 100644 client/tests/kvm/unattended/winvista-32-autounattend.xml
>  create mode 100644 client/tests/kvm/unattended/winvista-64-autounattend.xml
>
> diff --git a/client/tests/kvm/unattended/win2003-32.sif b/client/tests/kvm/unattended/win2003-32.sif
> new file mode 100755
> index 0000000..374d4c4
> --- /dev/null
> +++ b/client/tests/kvm/unattended/win2003-32.sif
> @@ -0,0 +1,62 @@
> +[Data]
> +AutoPartition = 1
> +MsDosInitiated = 0
> +UnattendedInstall = Yes
> +
> +[Unattended]
> +UnattendMode = FullUnattended
> +OemSkipEula = Yes
> +OemPreinstall = No
> +UnattendSwitch = Yes
> +CrashDumpSetting = 1
> +DriverSigningPolicy = ignore
> +WaitForReboot = no
> +Repartition = yes
> +
> +[GuiUnattended]
> +AdminPassword = "123456"
> +AutoLogon = Yes
> +AutoLogonCount = 5
> +OEMSkipRegional = 1
> +TimeZone = 85
> +OemSkipWelcome = 1
> +
> +[UserData]
> +FullName = "rhqe"
> +OrgName = "REDHAT"
> +ComputerName = *
> +ProductKey = [replace-with-your-prodkey]
> +
> +[LicenseFilePrintData]
> +AutoMode=PerServer
> +AutoUsers=15
> +
> +[Identification]
> +       DoOldStyleDomainJoin = YES
> +       DomainAdmin="Administrator"
> +       DomainAdminPassword="123456"
> +    JoinWorkgroup=WORKGROUP
> +       JoinDomain="qe.redhat.com"
> +
> +[Networking]
> +    InstallDefaultComponents=Yes
> +
> +[Components]
> +
> +[TerminalServices]
> +AllowConnections = 1
> +
> +
> +[WindowsFirewall]
> +Profiles = WindowsFirewall.TurnOffFirewall
> +[WindowsFirewall.TurnOffFirewall]
> +Mode = 0
> +
> +[SetupParams]
> +local="Local Area Connection"
> +
> +[GuiRunOnce]
> +Command0="sc config TlntSvr start= auto"
> +Command1="netsh firewall set opmode disable"
> +Command2="net start telnet"
> +Command3="cmd /c netsh interface ip set address local static 10.0.2.15 255.255.255.0 10.0.2.2 1 && ping 10.0.2.2 -n 20 && A:\finish.exe 10.0.2.2"
> diff --git a/client/tests/kvm/unattended/win2003-64.sif b/client/tests/kvm/unattended/win2003-64.sif
> new file mode 100644
> index 0000000..fe468cb
> --- /dev/null
> +++ b/client/tests/kvm/unattended/win2003-64.sif
> @@ -0,0 +1,61 @@
> +[Data]
> +AutoPartition = 1
> +MsDosInitiated = 0
> +UnattendedInstall = Yes
> +
> +[Unattended]
> +UnattendMode = FullUnattended
> +OemSkipEula = Yes
> +OemPreinstall = No
> +UnattendSwitch = Yes
> +CrashDumpSetting = 1
> +DriverSigningPolicy = ignore
> +WaitForReboot = no
> +Repartition = yes
> +
> +[GuiUnattended]
> +AdminPassword = "redhat"
> +AutoLogon = Yes
> +AutoLogonCount = 5
> +OEMSkipRegional = 1
> +TimeZone = 85
> +OemSkipWelcome = 1
> +
> +[UserData]
> +FullName = "rhqe"
> +OrgName = "REDHAT"
> +ComputerName = *
> +ProductKey = [replace-with-your-prodkey]
> +
> +[LicenseFilePrintData]
> +AutoMode=PerServer
> +AutoUsers=15
> +
> +[Identification]
> +       DoOldStyleDomainJoin = YES
> +       DomainAdmin="Administrator"
> +       DomainAdminPassword="redhat"
> +    JoinWorkgroup=WORKGROUP
> +       JoinDomain="qe.redhat.com"
> +
> +[Networking]
> +    InstallDefaultComponents=Yes
> +
> +[Components]
> +
> +[TerminalServices]
> +AllowConnections = 1
> +
> +[WindowsFirewall]
> +Profiles = WindowsFirewall.TurnOffFirewall
> +[WindowsFirewall.TurnOffFirewall]
> +Mode = 0
> +
> +[SetupParams]
> +local="Local Area Connection"
> +
> +[GuiRunOnce]
> +Command0="cmd /c sc config TlntSvr start= auto"
> +Command1="cmd /c netsh firewall set opmode disable"
> +Command2="cmd /c net start telnet"
> +Command3="cmd /c netsh interface ip set address local static 10.0.2.15 255.255.255.0 10.0.2.2 1 && ping 10.0.2.2 -n 20 && A:\finish.exe 10.0.2.2"
> diff --git a/client/tests/kvm/unattended/win2008-32-autounattend.xml b/client/tests/kvm/unattended/win2008-32-autounattend.xml
> new file mode 100644
> index 0000000..b8f3a56
> --- /dev/null
> +++ b/client/tests/kvm/unattended/win2008-32-autounattend.xml
> @@ -0,0 +1,139 @@
> +<?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="x86" 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:00010409</InputLocale>
> +            <SystemLocale>en-us</SystemLocale>
> +            <UILanguage>en-us</UILanguage>
> +            <UILanguageFallback>en-us</UILanguageFallback>
> +            <UserLocale>en-us</UserLocale>
> +        </component>
> +        <component name="Microsoft-Windows-Setup" processorArchitecture="x86" 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>
> +                            <Size>15000</Size>
> +                            <Type>Primary</Type>
> +                        </CreatePartition>
> +                    </CreatePartitions>
> +                    <ModifyPartitions>
> +                        <ModifyPartition wcm:action="add">
> +                            <Active>true</Active>
> +                            <Extend>false</Extend>
> +                            <Format>NTFS</Format>
> +                            <Label>OS_Install</Label>
> +                            <Letter>C</Letter>
> +                            <Order>1</Order>
> +                            <PartitionID>1</PartitionID>
> +                        </ModifyPartition>
> +                    </ModifyPartitions>
> +                    <DiskID>0</DiskID>
> +                    <WillWipeDisk>true</WillWipeDisk>
> +                </Disk>
> +                <WillShowUI>OnError</WillShowUI>
> +            </DiskConfiguration>
> +            <ImageInstall>
> +                <OSImage>
> +                    <InstallFrom>
> +                        <MetaData wcm:action="add">
> +                            <Key>/IMAGE/INDEX</Key>
> +                            <Value>1</Value>
> +                        </MetaData>
> +                    </InstallFrom>
> +                    <InstallTo>
> +                        <DiskID>0</DiskID>
> +                        <PartitionID>1</PartitionID>
> +                    </InstallTo>
> +                </OSImage>
> +            </ImageInstall>
> +            <UserData>
> +                <ProductKey>
> +                    <Key>replace-with-your-prodkey</Key>
> +                    <WillShowUI>OnError</WillShowUI>
> +                </ProductKey>
> +                <AcceptEula>true</AcceptEula>
> +                <FullName>redhatqe</FullName>
> +                <Organization>redhat</Organization>
> +            </UserData>
> +            <EnableFirewall>false</EnableFirewall>
> +            <EnableNetwork>true</EnableNetwork>
> +        </component>
> +    </settings>
> +    <settings pass="oobeSystem">
> +        <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> +            <Reseal>
> +                <ForceShutdownNow>false</ForceShutdownNow>
> +            </Reseal>
> +        </component>
> +        <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> +            <InputLocale>0409:00000409</InputLocale>
> +            <SystemLocale>en-us</SystemLocale>
> +            <UILanguage>en-us</UILanguage>
> +            <UILanguageFallback>en-us</UILanguageFallback>
> +            <UserLocale>en-us</UserLocale>
> +        </component>
> +        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> +            <UserAccounts>
> +                <AdministratorPassword>
> +                    <Value>1q2w3eP</Value>
> +                    <PlainText>true</PlainText>
> +                </AdministratorPassword>
> +            </UserAccounts>
> +            <AutoLogon>
> +                <Password>
> +                   <!-- <Value>cgBlAGQAaABhAHQAUABhAHMAcwB3AG8AcgBkAA==</Value> -->
> +                    <Value>1q2w3eP</Value>
> +                    <PlainText>true</PlainText>
> +                </Password>
> +                <Username>Administrator</Username>
> +                <LogonCount>5</LogonCount>
> +                <Enabled>true</Enabled>
> +            </AutoLogon>
> +            <FirstLogonCommands>
> +                 <SynchronousCommand wcm:action="add">
> +                    <Order>1</Order>
> +                    <CommandLine>%WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer"</CommandLine>
> +                 </SynchronousCommand>
> +                 <SynchronousCommand wcm:action="add">
> +                    <Order>2</Order>
> +                    <CommandLine>%WINDIR%\System32\cmd /c sc config TlntSvr start= auto</CommandLine>
> +                 </SynchronousCommand>
> +                 <SynchronousCommand wcm:action="add">
> +                    <Order>3</Order>
> +                    <CommandLine>%WINDIR%\System32\cmd /c netsh firewall set opmode disable</CommandLine>
> +                 </SynchronousCommand>
> +                 <SynchronousCommand wcm:action="add">
> +                    <Order>4</Order>
> +                    <CommandLine>%WINDIR%\System32\cmd /c net start telnet</CommandLine>
> +                 </SynchronousCommand>
> +                 <SynchronousCommand wcm:action="add">
> +                    <Order>5</Order>
> +                    <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" static 10.0.2.15 255.255.255.0 10.0.2.2 1 &#38;&#38; ping 10.0.2.2 -n 20 &#38;&#38; A:\finish.exe 10.0.2.2</CommandLine>
> +                 </SynchronousCommand>
> +            </FirstLogonCommands>
> +            <OOBE>
> +                <ProtectYourPC>1</ProtectYourPC>
> +                <NetworkLocation>Work</NetworkLocation>
> +            </OOBE>
> +        </component>
> +    </settings>
> +    <settings pass="auditSystem">
> +        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> +            <AutoLogon>
> +                <Password>
> +                    <Value>cgBlAGQAaABhAHQAUABhAHMAcwB3AG8AcgBkAA==</Value>
> +                    <PlainText>false</PlainText>
> +                </Password>
> +                <Username>Administrator</Username>
> +                <LogonCount>5</LogonCount>
> +                <Enabled>true</Enabled>
> +            </AutoLogon>
> +        </component>
> +    </settings>
> +    <cpi:offlineImage cpi:source="wim:d:/os/win2k8/i386/sources/install.wim#Windows Longhorn SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
> +</unattend>
> diff --git a/client/tests/kvm/unattended/win2008-64-autounattend.xml b/client/tests/kvm/unattended/win2008-64-autounattend.xml
> new file mode 100644
> index 0000000..345165a
> --- /dev/null
> +++ b/client/tests/kvm/unattended/win2008-64-autounattend.xml
> @@ -0,0 +1,143 @@
> +<?xml version="1.0" encoding="utf-8"?>
> +<unattend xmlns="urn:schemas-microsoft-com:unattend">
> +    <settings pass="windowsPE">
> +        <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>
> +                <WillShowUI>OnError</WillShowUI>
> +                <Disk wcm:action="add">
> +                    <CreatePartitions>
> +                        <CreatePartition wcm:action="add">
> +                            <Order>1</Order>
> +                            <Size>15000</Size>
> +                            <Type>Primary</Type>
> +                        </CreatePartition>
> +                    </CreatePartitions>
> +                    <ModifyPartitions>
> +                        <ModifyPartition wcm:action="add">
> +                            <Active>true</Active>
> +                            <Extend>false</Extend>
> +                            <Format>NTFS</Format>
> +                            <Label>OS_Install</Label>
> +                            <Letter>C</Letter>
> +                            <Order>1</Order>
> +                            <PartitionID>1</PartitionID>
> +                        </ModifyPartition>
> +                    </ModifyPartitions>
> +                    <DiskID>0</DiskID>
> +                    <WillWipeDisk>true</WillWipeDisk>
> +                </Disk>
> +            </DiskConfiguration>
> +            <ImageInstall>
> +                <OSImage>
> +                    <InstallFrom>
> +                        <MetaData wcm:action="add">
> +                            <Key>/IMAGE/INDEX</Key>
> +                            <Value>1</Value>
> +                        </MetaData>
> +                    </InstallFrom>
> +                    <InstallTo>
> +                        <DiskID>0</DiskID>
> +                        <PartitionID>1</PartitionID>
> +                    </InstallTo>
> +                    <WillShowUI>OnError</WillShowUI>
> +                </OSImage>
> +            </ImageInstall>
> +            <UserData>
> +                <ProductKey>
> +                    <WillShowUI>OnError</WillShowUI>
> +                    <Key>replace-with-your-prodkey</Key>
> +                </ProductKey>
> +                <AcceptEula>true</AcceptEula>
> +            </UserData>
> +        </component>
> +        <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>
> +            <SystemLocale>en-us</SystemLocale>
> +            <UILanguage>en-us</UILanguage>
> +            <UserLocale>en-us</UserLocale>
> +            <UILanguageFallback>en-us</UILanguageFallback>
> +        </component>
> +    </settings>
> +    <settings pass="specialize">
> +        <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> +            <RunSynchronous>
> +                <RunSynchronousCommand wcm:action="add">
> +                    <Description>EnableAdmin</Description>
> +                    <Order>1</Order>
> +                    <Path>cmd /c net user Administrator /active:yes</Path>
> +                </RunSynchronousCommand>
> +                <RunSynchronousCommand wcm:action="add">
> +                    <Description>UnfilterAdministratorToken</Description>
> +                    <Order>2</Order>
> +                    <Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>
> +                </RunSynchronousCommand>
> +            </RunSynchronous>
> +        </component>
> +        <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> +            <InputLocale>0409:00000409</InputLocale>
> +            <SystemLocale>en-US</SystemLocale>
> +            <UILanguage>en-US</UILanguage>
> +            <UserLocale>en-US</UserLocale>
> +        </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";>
> +            <UserAccounts>
> +                <AdministratorPassword>
> +                    <!-- <Value>UABAAHMAcwB3ADAAcgBkAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> -->
> +                    <Value>1q2w3eP</Value>
> +                    <PlainText>true</PlainText>
> +                </AdministratorPassword>
> +            </UserAccounts>
> +            <AutoLogon>
> +                <Password>
> +                    <Value>1q2w3eP</Value>
> +                    <PlainText>true</PlainText>
> +                </Password>
> +                <Enabled>true</Enabled>
> +                <LogonCount>5</LogonCount>
> +                <Username>Administrator</Username>
> +            </AutoLogon>
> +            <FirstLogonCommands>
> +                <SynchronousCommand wcm:action="add">
> +                    <Order>1</Order>
> +                    <CommandLine>%WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer"</CommandLine>
> +                </SynchronousCommand>
> +                <SynchronousCommand wcm:action="add">
> +                    <Order>2</Order>
> +                    <CommandLine>%WINDIR%\System32\cmd /c sc config TlntSvr start= auto</CommandLine>
> +                </SynchronousCommand>
> +                <SynchronousCommand wcm:action="add">
> +                    <Order>3</Order>
> +                    <CommandLine>%WINDIR%\System32\cmd /c netsh firewall set opmode disable</CommandLine>
> +                </SynchronousCommand>
> +                <SynchronousCommand wcm:action="add">
> +                    <Order>4</Order>
> +                    <CommandLine>%WINDIR%\System32\cmd /c net start telnet</CommandLine>
> +                </SynchronousCommand>
> +                <SynchronousCommand wcm:action="add">
> +                    <Order>5</Order>
> +                    <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" static 10.0.2.15 255.255.255.0 10.0.2.2 1 &#38;&#38; ping 10.0.2.2 -n 20 &#38;&#38; A:\finish.exe 10.0.2.2</CommandLine>
> +                </SynchronousCommand>
> +            </FirstLogonCommands>
> +            <OOBE>
> +                <HideEULAPage>true</HideEULAPage>
> +               <NetworkLocation>Work</NetworkLocation>
> +               <ProtectYourPC>1</ProtectYourPC>
> +               <SkipUserOOBE>true</SkipUserOOBE>
> +                <SkipMachineOOBE>true</SkipMachineOOBE>
> +            </OOBE>
> +        </component>
> +        <component name="Microsoft-Windows-International-Core" 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";>
> +            <InputLocale>0409:00000409</InputLocale>
> +            <SystemLocale>en-us</SystemLocale>
> +            <UILanguage>en-us</UILanguage>
> +            <UILanguageFallback>en-us</UILanguageFallback>
> +            <UserLocale>en-us</UserLocale>
> +        </component>
> +    </settings>
> +    <cpi:offlineImage cpi:source="wim:d:/os/vista/x64/sources/install.wim#Windows Vista ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
> +</unattend>
> diff --git a/client/tests/kvm/unattended/win2008-r2-autounattend.xml b/client/tests/kvm/unattended/win2008-r2-autounattend.xml
> new file mode 100644
> index 0000000..345165a
> --- /dev/null
> +++ b/client/tests/kvm/unattended/win2008-r2-autounattend.xml
> @@ -0,0 +1,143 @@
> +<?xml version="1.0" encoding="utf-8"?>
> +<unattend xmlns="urn:schemas-microsoft-com:unattend">
> +    <settings pass="windowsPE">
> +        <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>
> +                <WillShowUI>OnError</WillShowUI>
> +                <Disk wcm:action="add">
> +                    <CreatePartitions>
> +                        <CreatePartition wcm:action="add">
> +                            <Order>1</Order>
> +                            <Size>15000</Size>
> +                            <Type>Primary</Type>
> +                        </CreatePartition>
> +                    </CreatePartitions>
> +                    <ModifyPartitions>
> +                        <ModifyPartition wcm:action="add">
> +                            <Active>true</Active>
> +                            <Extend>false</Extend>
> +                            <Format>NTFS</Format>
> +                            <Label>OS_Install</Label>
> +                            <Letter>C</Letter>
> +                            <Order>1</Order>
> +                            <PartitionID>1</PartitionID>
> +                        </ModifyPartition>
> +                    </ModifyPartitions>
> +                    <DiskID>0</DiskID>
> +                    <WillWipeDisk>true</WillWipeDisk>
> +                </Disk>
> +            </DiskConfiguration>
> +            <ImageInstall>
> +                <OSImage>
> +                    <InstallFrom>
> +                        <MetaData wcm:action="add">
> +                            <Key>/IMAGE/INDEX</Key>
> +                            <Value>1</Value>
> +                        </MetaData>
> +                    </InstallFrom>
> +                    <InstallTo>
> +                        <DiskID>0</DiskID>
> +                        <PartitionID>1</PartitionID>
> +                    </InstallTo>
> +                    <WillShowUI>OnError</WillShowUI>
> +                </OSImage>
> +            </ImageInstall>
> +            <UserData>
> +                <ProductKey>
> +                    <WillShowUI>OnError</WillShowUI>
> +                    <Key>replace-with-your-prodkey</Key>
> +                </ProductKey>
> +                <AcceptEula>true</AcceptEula>
> +            </UserData>
> +        </component>
> +        <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>
> +            <SystemLocale>en-us</SystemLocale>
> +            <UILanguage>en-us</UILanguage>
> +            <UserLocale>en-us</UserLocale>
> +            <UILanguageFallback>en-us</UILanguageFallback>
> +        </component>
> +    </settings>
> +    <settings pass="specialize">
> +        <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> +            <RunSynchronous>
> +                <RunSynchronousCommand wcm:action="add">
> +                    <Description>EnableAdmin</Description>
> +                    <Order>1</Order>
> +                    <Path>cmd /c net user Administrator /active:yes</Path>
> +                </RunSynchronousCommand>
> +                <RunSynchronousCommand wcm:action="add">
> +                    <Description>UnfilterAdministratorToken</Description>
> +                    <Order>2</Order>
> +                    <Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>
> +                </RunSynchronousCommand>
> +            </RunSynchronous>
> +        </component>
> +        <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> +            <InputLocale>0409:00000409</InputLocale>
> +            <SystemLocale>en-US</SystemLocale>
> +            <UILanguage>en-US</UILanguage>
> +            <UserLocale>en-US</UserLocale>
> +        </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";>
> +            <UserAccounts>
> +                <AdministratorPassword>
> +                    <!-- <Value>UABAAHMAcwB3ADAAcgBkAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> -->
> +                    <Value>1q2w3eP</Value>
> +                    <PlainText>true</PlainText>
> +                </AdministratorPassword>
> +            </UserAccounts>
> +            <AutoLogon>
> +                <Password>
> +                    <Value>1q2w3eP</Value>
> +                    <PlainText>true</PlainText>
> +                </Password>
> +                <Enabled>true</Enabled>
> +                <LogonCount>5</LogonCount>
> +                <Username>Administrator</Username>
> +            </AutoLogon>
> +            <FirstLogonCommands>
> +                <SynchronousCommand wcm:action="add">
> +                    <Order>1</Order>
> +                    <CommandLine>%WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer"</CommandLine>
> +                </SynchronousCommand>
> +                <SynchronousCommand wcm:action="add">
> +                    <Order>2</Order>
> +                    <CommandLine>%WINDIR%\System32\cmd /c sc config TlntSvr start= auto</CommandLine>
> +                </SynchronousCommand>
> +                <SynchronousCommand wcm:action="add">
> +                    <Order>3</Order>
> +                    <CommandLine>%WINDIR%\System32\cmd /c netsh firewall set opmode disable</CommandLine>
> +                </SynchronousCommand>
> +                <SynchronousCommand wcm:action="add">
> +                    <Order>4</Order>
> +                    <CommandLine>%WINDIR%\System32\cmd /c net start telnet</CommandLine>
> +                </SynchronousCommand>
> +                <SynchronousCommand wcm:action="add">
> +                    <Order>5</Order>
> +                    <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" static 10.0.2.15 255.255.255.0 10.0.2.2 1 &#38;&#38; ping 10.0.2.2 -n 20 &#38;&#38; A:\finish.exe 10.0.2.2</CommandLine>
> +                </SynchronousCommand>
> +            </FirstLogonCommands>
> +            <OOBE>
> +                <HideEULAPage>true</HideEULAPage>
> +               <NetworkLocation>Work</NetworkLocation>
> +               <ProtectYourPC>1</ProtectYourPC>
> +               <SkipUserOOBE>true</SkipUserOOBE>
> +                <SkipMachineOOBE>true</SkipMachineOOBE>
> +            </OOBE>
> +        </component>
> +        <component name="Microsoft-Windows-International-Core" 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";>
> +            <InputLocale>0409:00000409</InputLocale>
> +            <SystemLocale>en-us</SystemLocale>
> +            <UILanguage>en-us</UILanguage>
> +            <UILanguageFallback>en-us</UILanguageFallback>
> +            <UserLocale>en-us</UserLocale>
> +        </component>
> +    </settings>
> +    <cpi:offlineImage cpi:source="wim:d:/os/vista/x64/sources/install.wim#Windows Vista ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
> +</unattend>
> diff --git a/client/tests/kvm/unattended/win7-32-autounattend.xml b/client/tests/kvm/unattended/win7-32-autounattend.xml
> new file mode 100644
> index 0000000..faf588a
> --- /dev/null
> +++ b/client/tests/kvm/unattended/win7-32-autounattend.xml
> @@ -0,0 +1,142 @@
> +<?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="x86" 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:00010409</InputLocale>
> +            <SystemLocale>en-us</SystemLocale>
> +            <UILanguage>en-us</UILanguage>
> +            <UILanguageFallback>en-us</UILanguageFallback>
> +            <UserLocale>en-us</UserLocale>
> +        </component>
> +        <component name="Microsoft-Windows-Setup" processorArchitecture="x86" 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>
> +                            <Size>15000</Size>
> +                            <Type>Primary</Type>
> +                        </CreatePartition>
> +                    </CreatePartitions>
> +                    <ModifyPartitions>
> +                        <ModifyPartition wcm:action="add">
> +                            <Active>true</Active>
> +                            <Extend>false</Extend>
> +                            <Format>NTFS</Format>
> +                            <Label>OS_Install</Label>
> +                            <Letter>C</Letter>
> +                            <Order>1</Order>
> +                            <PartitionID>1</PartitionID>
> +                        </ModifyPartition>
> +                    </ModifyPartitions>
> +                    <DiskID>0</DiskID>
> +                    <WillWipeDisk>true</WillWipeDisk>
> +                </Disk>
> +                <WillShowUI>OnError</WillShowUI>
> +            </DiskConfiguration>
> +            <ImageInstall>
> +                <OSImage>
> +                    <InstallFrom>
> +                        <MetaData wcm:action="add">
> +                            <Key>/IMAGE/INDEX</Key>
> +                            <Value>1</Value>
> +                        </MetaData>
> +                    </InstallFrom>
> +                    <InstallTo>
> +                        <DiskID>0</DiskID>
> +                        <PartitionID>1</PartitionID>
> +                    </InstallTo>
> +                </OSImage>
> +            </ImageInstall>
> +            <UserData>
> +                <ProductKey>
> +                    <Key>replace-with-your-prodkey</Key>
> +                    <WillShowUI>OnError</WillShowUI>
> +                </ProductKey>
> +                <AcceptEula>true</AcceptEula>
> +                <FullName>redhatqe</FullName>
> +                <Organization>redhat</Organization>
> +            </UserData>
> +            <EnableFirewall>false</EnableFirewall>
> +            <EnableNetwork>true</EnableNetwork>
> +        </component>
> +    </settings>
> +    <settings pass="oobeSystem">
> +        <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> +            <Reseal>
> +                <ForceShutdownNow>false</ForceShutdownNow>
> +            </Reseal>
> +        </component>
> +        <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> +            <InputLocale>0409:00000409</InputLocale>
> +            <SystemLocale>en-us</SystemLocale>
> +            <UILanguage>en-us</UILanguage>
> +            <UILanguageFallback>en-us</UILanguageFallback>
> +            <UserLocale>en-us</UserLocale>
> +        </component>
> +        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> +            <UserAccounts>
> +                <AdministratorPassword>
> +                    <Value>1q2w3eP</Value>
> +                    <PlainText>true</PlainText>
> +                </AdministratorPassword>
> +            </UserAccounts>
> +            <AutoLogon>
> +                <Password>
> +                   <!-- <Value>cgBlAGQAaABhAHQAUABhAHMAcwB3AG8AcgBkAA==</Value> -->
> +                    <Value>1q2w3eP</Value>
> +                    <PlainText>true</PlainText>
> +                </Password>
> +                <Username>Administrator</Username>
> +                <LogonCount>5</LogonCount>
> +                <Enabled>true</Enabled>
> +            </AutoLogon>
> +            <FirstLogonCommands>
> +                 <SynchronousCommand wcm:action="add">
> +                    <Order>1</Order>
> +                    <CommandLine>%WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer"</CommandLine>
> +                 </SynchronousCommand>
> +                 <SynchronousCommand wcm:action="add">
> +                    <Order>2</Order>
> +                    <CommandLine>%WINDIR%\System32\cmd /c sc config TlntSvr start= auto</CommandLine>
> +                 </SynchronousCommand>
> +                 <SynchronousCommand wcm:action="add">
> +                    <Order>3</Order>
> +                    <CommandLine>%WINDIR%\System32\cmd /c netsh firewall set opmode disable</CommandLine>
> +                 </SynchronousCommand>
> +                 <SynchronousCommand wcm:action="add">
> +                    <Order>4</Order>
> +                    <CommandLine>%WINDIR%\System32\cmd /c net start telnet</CommandLine>
> +                 </SynchronousCommand>
> +                 <SynchronousCommand wcm:action="add">
> +                    <Order>5</Order>
> +                    <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" static 10.0.2.15 255.255.255.0 10.0.2.2 1 &#38;&#38; ping 10.0.2.2 -n 20 &#38;&#38; A:\finish.exe 10.0.2.2</CommandLine>
> +                 </SynchronousCommand>
> +            </FirstLogonCommands>
> +            <OOBE>
> +                <HideEULAPage>true</HideEULAPage>
> +                <ProtectYourPC>1</ProtectYourPC>
> +                <NetworkLocation>Work</NetworkLocation>
> +                <SkipUserOOBE>true</SkipUserOOBE>
> +                <SkipMachineOOBE>true</SkipMachineOOBE>
> +            </OOBE>
> +        </component>
> +    </settings>
> +    <settings pass="auditSystem">
> +        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> +            <AutoLogon>
> +                <Password>
> +                    <Value>cgBlAGQAaABhAHQAUABhAHMAcwB3AG8AcgBkAA==</Value>
> +                    <PlainText>false</PlainText>
> +                </Password>
> +                <Username>Administrator</Username>
> +                <LogonCount>5</LogonCount>
> +                <Enabled>true</Enabled>
> +            </AutoLogon>
> +        </component>
> +    </settings>
> +    <cpi:offlineImage cpi:source="wim:d:/os/win2k8/i386/sources/install.wim#Windows Longhorn SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
> +</unattend>
> diff --git a/client/tests/kvm/unattended/win7-64-autounattend.xml b/client/tests/kvm/unattended/win7-64-autounattend.xml
> new file mode 100644
> index 0000000..345165a
> --- /dev/null
> +++ b/client/tests/kvm/unattended/win7-64-autounattend.xml
> @@ -0,0 +1,143 @@
> +<?xml version="1.0" encoding="utf-8"?>
> +<unattend xmlns="urn:schemas-microsoft-com:unattend">
> +    <settings pass="windowsPE">
> +        <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>
> +                <WillShowUI>OnError</WillShowUI>
> +                <Disk wcm:action="add">
> +                    <CreatePartitions>
> +                        <CreatePartition wcm:action="add">
> +                            <Order>1</Order>
> +                            <Size>15000</Size>
> +                            <Type>Primary</Type>
> +                        </CreatePartition>
> +                    </CreatePartitions>
> +                    <ModifyPartitions>
> +                        <ModifyPartition wcm:action="add">
> +                            <Active>true</Active>
> +                            <Extend>false</Extend>
> +                            <Format>NTFS</Format>
> +                            <Label>OS_Install</Label>
> +                            <Letter>C</Letter>
> +                            <Order>1</Order>
> +                            <PartitionID>1</PartitionID>
> +                        </ModifyPartition>
> +                    </ModifyPartitions>
> +                    <DiskID>0</DiskID>
> +                    <WillWipeDisk>true</WillWipeDisk>
> +                </Disk>
> +            </DiskConfiguration>
> +            <ImageInstall>
> +                <OSImage>
> +                    <InstallFrom>
> +                        <MetaData wcm:action="add">
> +                            <Key>/IMAGE/INDEX</Key>
> +                            <Value>1</Value>
> +                        </MetaData>
> +                    </InstallFrom>
> +                    <InstallTo>
> +                        <DiskID>0</DiskID>
> +                        <PartitionID>1</PartitionID>
> +                    </InstallTo>
> +                    <WillShowUI>OnError</WillShowUI>
> +                </OSImage>
> +            </ImageInstall>
> +            <UserData>
> +                <ProductKey>
> +                    <WillShowUI>OnError</WillShowUI>
> +                    <Key>replace-with-your-prodkey</Key>
> +                </ProductKey>
> +                <AcceptEula>true</AcceptEula>
> +            </UserData>
> +        </component>
> +        <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>
> +            <SystemLocale>en-us</SystemLocale>
> +            <UILanguage>en-us</UILanguage>
> +            <UserLocale>en-us</UserLocale>
> +            <UILanguageFallback>en-us</UILanguageFallback>
> +        </component>
> +    </settings>
> +    <settings pass="specialize">
> +        <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> +            <RunSynchronous>
> +                <RunSynchronousCommand wcm:action="add">
> +                    <Description>EnableAdmin</Description>
> +                    <Order>1</Order>
> +                    <Path>cmd /c net user Administrator /active:yes</Path>
> +                </RunSynchronousCommand>
> +                <RunSynchronousCommand wcm:action="add">
> +                    <Description>UnfilterAdministratorToken</Description>
> +                    <Order>2</Order>
> +                    <Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>
> +                </RunSynchronousCommand>
> +            </RunSynchronous>
> +        </component>
> +        <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> +            <InputLocale>0409:00000409</InputLocale>
> +            <SystemLocale>en-US</SystemLocale>
> +            <UILanguage>en-US</UILanguage>
> +            <UserLocale>en-US</UserLocale>
> +        </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";>
> +            <UserAccounts>
> +                <AdministratorPassword>
> +                    <!-- <Value>UABAAHMAcwB3ADAAcgBkAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> -->
> +                    <Value>1q2w3eP</Value>
> +                    <PlainText>true</PlainText>
> +                </AdministratorPassword>
> +            </UserAccounts>
> +            <AutoLogon>
> +                <Password>
> +                    <Value>1q2w3eP</Value>
> +                    <PlainText>true</PlainText>
> +                </Password>
> +                <Enabled>true</Enabled>
> +                <LogonCount>5</LogonCount>
> +                <Username>Administrator</Username>
> +            </AutoLogon>
> +            <FirstLogonCommands>
> +                <SynchronousCommand wcm:action="add">
> +                    <Order>1</Order>
> +                    <CommandLine>%WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer"</CommandLine>
> +                </SynchronousCommand>
> +                <SynchronousCommand wcm:action="add">
> +                    <Order>2</Order>
> +                    <CommandLine>%WINDIR%\System32\cmd /c sc config TlntSvr start= auto</CommandLine>
> +                </SynchronousCommand>
> +                <SynchronousCommand wcm:action="add">
> +                    <Order>3</Order>
> +                    <CommandLine>%WINDIR%\System32\cmd /c netsh firewall set opmode disable</CommandLine>
> +                </SynchronousCommand>
> +                <SynchronousCommand wcm:action="add">
> +                    <Order>4</Order>
> +                    <CommandLine>%WINDIR%\System32\cmd /c net start telnet</CommandLine>
> +                </SynchronousCommand>
> +                <SynchronousCommand wcm:action="add">
> +                    <Order>5</Order>
> +                    <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" static 10.0.2.15 255.255.255.0 10.0.2.2 1 &#38;&#38; ping 10.0.2.2 -n 20 &#38;&#38; A:\finish.exe 10.0.2.2</CommandLine>
> +                </SynchronousCommand>
> +            </FirstLogonCommands>
> +            <OOBE>
> +                <HideEULAPage>true</HideEULAPage>
> +               <NetworkLocation>Work</NetworkLocation>
> +               <ProtectYourPC>1</ProtectYourPC>
> +               <SkipUserOOBE>true</SkipUserOOBE>
> +                <SkipMachineOOBE>true</SkipMachineOOBE>
> +            </OOBE>
> +        </component>
> +        <component name="Microsoft-Windows-International-Core" 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";>
> +            <InputLocale>0409:00000409</InputLocale>
> +            <SystemLocale>en-us</SystemLocale>
> +            <UILanguage>en-us</UILanguage>
> +            <UILanguageFallback>en-us</UILanguageFallback>
> +            <UserLocale>en-us</UserLocale>
> +        </component>
> +    </settings>
> +    <cpi:offlineImage cpi:source="wim:d:/os/vista/x64/sources/install.wim#Windows Vista ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
> +</unattend>
> diff --git a/client/tests/kvm/unattended/winvista-32-autounattend.xml b/client/tests/kvm/unattended/winvista-32-autounattend.xml
> new file mode 100644
> index 0000000..054926d
> --- /dev/null
> +++ b/client/tests/kvm/unattended/winvista-32-autounattend.xml
> @@ -0,0 +1,136 @@
> +<?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="x86" 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>
> +            <SystemLocale>en-us</SystemLocale>
> +            <UILanguage>en-us</UILanguage>
> +            <UILanguageFallback>en-us</UILanguageFallback>
> +            <UserLocale>en-us</UserLocale>
> +        </component>
> +        <component name="Microsoft-Windows-Setup" processorArchitecture="x86" 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>
> +                <WillShowUI>OnError</WillShowUI>
> +                <Disk wcm:action="add">
> +                    <CreatePartitions>
> +                        <CreatePartition wcm:action="add">
> +                            <Order>1</Order>
> +                            <Size>15000</Size>
> +                            <Type>Primary</Type>
> +                        </CreatePartition>
> +                    </CreatePartitions>
> +                    <ModifyPartitions>
> +                        <ModifyPartition wcm:action="add">
> +                            <Active>true</Active>
> +                            <Extend>false</Extend>
> +                            <Format>NTFS</Format>
> +                            <Label>OS_Install</Label>
> +                            <Letter>C</Letter>
> +                            <Order>1</Order>
> +                            <PartitionID>1</PartitionID>
> +                        </ModifyPartition>
> +                    </ModifyPartitions>
> +                    <DiskID>0</DiskID>
> +                    <WillWipeDisk>true</WillWipeDisk>
> +                </Disk>
> +            </DiskConfiguration>
> +            <ImageInstall>
> +                <OSImage>
> +                    <InstallTo>
> +                        <DiskID>0</DiskID>
> +                        <PartitionID>1</PartitionID>
> +                    </InstallTo>
> +                </OSImage>
> +            </ImageInstall>
> +            <UserData>
> +                <ProductKey>
> +                    <Key>replace-with-your-prodkey</Key>
> +                    <WillShowUI>OnError</WillShowUI>
> +                </ProductKey>
> +                <AcceptEula>true</AcceptEula>
> +            </UserData>
> +        </component>
> +    </settings>
> +    <settings pass="specialize">
> +        <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> +            <RunSynchronous>
> +                <RunSynchronousCommand wcm:action="add">
> +                    <Description>EnableAdmin</Description>
> +                    <Order>1</Order>
> +                    <Path>cmd /c net user Administrator /active:yes</Path>
> +                </RunSynchronousCommand>
> +                <RunSynchronousCommand wcm:action="add">
> +                    <Description>UnfilterAdministratorToken</Description>
> +                    <Order>2</Order>
> +                    <Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>
> +                </RunSynchronousCommand>
> +            </RunSynchronous>
> +        </component>
> +        <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> +            <InputLocale>0409:00000409</InputLocale>
> +            <SystemLocale>en-US</SystemLocale>
> +            <UILanguage>en-US</UILanguage>
> +            <UserLocale>en-US</UserLocale>
> +        </component>
> +    </settings>
> +    <settings pass="oobeSystem">
> +        <!-- <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> +            <InputLocale>0409:00000409</InputLocale>
> +            <SystemLocale>en-us</SystemLocale>
> +            <UILanguage>en-us</UILanguage>
> +            <UILanguageFallback>en-us</UILanguageFallback>
> +            <UserLocale>en-us</UserLocale>
> +        </component> -->
> +        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> +            <UserAccounts>
> +                <AdministratorPassword>
> +                    <!-- <Value>UABAAHMAcwB3ADAAcgBkAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> -->
> +                    <Value>123456</Value>
> +                    <PlainText>true</PlainText>
> +                </AdministratorPassword>
> +            </UserAccounts>
> +            <OOBE>
> +                <HideEULAPage>true</HideEULAPage>
> +               <NetworkLocation>Work</NetworkLocation>
> +               <ProtectYourPC>1</ProtectYourPC>
> +               <SkipUserOOBE>true</SkipUserOOBE>
> +                <SkipMachineOOBE>true</SkipMachineOOBE>
> +            </OOBE>
> +            <AutoLogon>
> +                <Password>
> +                    <Value>123456</Value>
> +                    <PlainText>true</PlainText>
> +                </Password>
> +                <Enabled>true</Enabled>
> +                <LogonCount>5</LogonCount>
> +                <Username>Administrator</Username>
> +            </AutoLogon>
> +            <FirstLogonCommands>
> +                <SynchronousCommand wcm:action="add">
> +                    <CommandLine>%WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer"</CommandLine>
> +                    <Order>1</Order>
> +                </SynchronousCommand>
> +                <SynchronousCommand wcm:action="add">
> +                    <CommandLine>%WINDIR%\System32\cmd /c sc config TlntSvr start= auto</CommandLine>
> +                    <Order>2</Order>
> +                </SynchronousCommand>
> +                <SynchronousCommand wcm:action="add">
> +                    <CommandLine>%WINDIR%\System32\cmd /c netsh firewall set opmode disable</CommandLine>
> +                    <Order>3</Order>
> +                </SynchronousCommand>
> +                <SynchronousCommand wcm:action="add">
> +                    <CommandLine>%WINDIR%\System32\cmd /c net start telnet</CommandLine>
> +                    <Order>4</Order>
> +                </SynchronousCommand>
> +                <SynchronousCommand wcm:action="add">
> +                    <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" static 10.0.2.15 255.255.255.0 10.0.2.2 1 &#38;&#38; ping 10.0.2.2 -n 20 &#38;&#38; A:\finish.exe 10.0.2.2</CommandLine>
> +                    <Order>5</Order>
> +                </SynchronousCommand>
> +            </FirstLogonCommands>
> +        </component>
> +    </settings>
> +    <cpi:offlineImage cpi:source="wim:c:/install.wim#Windows Longhorn SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
> +</unattend>
> diff --git a/client/tests/kvm/unattended/winvista-64-autounattend.xml b/client/tests/kvm/unattended/winvista-64-autounattend.xml
> new file mode 100644
> index 0000000..bb811dc
> --- /dev/null
> +++ b/client/tests/kvm/unattended/winvista-64-autounattend.xml
> @@ -0,0 +1,138 @@
> +<?xml version="1.0" encoding="utf-8"?>
> +<unattend xmlns="urn:schemas-microsoft-com:unattend">
> +    <settings pass="windowsPE">
> +        <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>
> +                <WillShowUI>OnError</WillShowUI>
> +                <Disk wcm:action="add">
> +                    <CreatePartitions>
> +                        <CreatePartition wcm:action="add">
> +                            <Order>1</Order>
> +                            <Size>15000</Size>
> +                            <Type>Primary</Type>
> +                        </CreatePartition>
> +                    </CreatePartitions>
> +                    <ModifyPartitions>
> +                        <ModifyPartition wcm:action="add">
> +                            <Active>true</Active>
> +                            <Extend>false</Extend>
> +                            <Format>NTFS</Format>
> +                            <Label>OS_Install</Label>
> +                            <Letter>C</Letter>
> +                            <Order>1</Order>
> +                            <PartitionID>1</PartitionID>
> +                        </ModifyPartition>
> +                    </ModifyPartitions>
> +                    <DiskID>0</DiskID>
> +                    <WillWipeDisk>true</WillWipeDisk>
> +                </Disk>
> +            </DiskConfiguration>
> +            <ImageInstall>
> +                <OSImage>
> +                    <InstallTo>
> +                        <DiskID>0</DiskID>
> +                        <PartitionID>1</PartitionID>
> +                    </InstallTo>
> +                    <WillShowUI>OnError</WillShowUI>
> +                </OSImage>
> +            </ImageInstall>
> +            <UserData>
> +                <ProductKey>
> +                    <WillShowUI>OnError</WillShowUI>
> +                    <Key>replace-with-your-prodkey</Key>
> +                </ProductKey>
> +                <AcceptEula>true</AcceptEula>
> +            </UserData>
> +        </component>
> +        <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>
> +            <SystemLocale>en-us</SystemLocale>
> +            <UILanguage>en-us</UILanguage>
> +            <UserLocale>en-us</UserLocale>
> +            <UILanguageFallback>en-us</UILanguageFallback>
> +        </component>
> +    </settings>
> +    <settings pass="specialize">
> +        <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> +            <RunSynchronous>
> +                <RunSynchronousCommand wcm:action="add">
> +                    <Description>EnableAdmin</Description>
> +                    <Order>1</Order>
> +                    <Path>cmd /c net user Administrator /active:yes</Path>
> +                </RunSynchronousCommand>
> +                <RunSynchronousCommand wcm:action="add">
> +                    <Description>UnfilterAdministratorToken</Description>
> +                    <Order>2</Order>
> +                    <Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>
> +                </RunSynchronousCommand>
> +            </RunSynchronous>
> +        </component>
> +        <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> +            <InputLocale>0409:00000409</InputLocale>
> +            <SystemLocale>en-US</SystemLocale>
> +            <UILanguage>en-US</UILanguage>
> +            <UserLocale>en-US</UserLocale>
> +        </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";>
> +            <UserAccounts>
> +                <AdministratorPassword>
> +                    <!-- <Value>UABAAHMAcwB3ADAAcgBkAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> -->
> +                    <Value>123456</Value>
> +                    <PlainText>true</PlainText>
> +                </AdministratorPassword>
> +            </UserAccounts>
> +            <AutoLogon>
> +                <Enabled>true</Enabled>
> +                <LogonCount>5</LogonCount>
> +                <Username>Administrator</Username>
> +                <Password>
> +                    <!-- <Value>UABAAHMAcwB3ADAAcgBkAFAAYQBzAHMAdwBvAHIAZAA=</Value> -->
> +                    <Value>123456</Value>
> +                    <PlainText>true</PlainText>
> +                </Password>
> +            </AutoLogon>
> +            <OOBE>
> +                <HideEULAPage>true</HideEULAPage>
> +               <NetworkLocation>Work</NetworkLocation>
> +               <ProtectYourPC>1</ProtectYourPC>
> +               <SkipUserOOBE>true</SkipUserOOBE>
> +                <SkipMachineOOBE>true</SkipMachineOOBE>
> +            </OOBE>
> +            <FirstLogonCommands>
> +                <SynchronousCommand wcm:action="add">
> +                    <CommandLine>%WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer"</CommandLine>
> +                    <Order>1</Order>
> +                </SynchronousCommand>
> +                <SynchronousCommand wcm:action="add">
> +                    <CommandLine>%WINDIR%\System32\cmd /c sc config TlntSvr start= auto</CommandLine>
> +                    <Order>2</Order>
> +                </SynchronousCommand>
> +                <SynchronousCommand wcm:action="add">
> +                    <CommandLine>%WINDIR%\System32\cmd /c netsh firewall set opmode disable</CommandLine>
> +                    <Order>3</Order>
> +                </SynchronousCommand>
> +                <SynchronousCommand wcm:action="add">
> +                    <CommandLine>%WINDIR%\System32\cmd /c net start telnet</CommandLine>
> +                    <Order>4</Order>
> +                </SynchronousCommand>
> +                <SynchronousCommand wcm:action="add">
> +                    <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" static 10.0.2.15 255.255.255.0 10.0.2.2 1 &#38;&#38; ping 10.0.2.2 -n 20 &#38;&#38; A:\finish.exe 10.0.2.2</CommandLine>
> +                    <Order>5</Order>
> +                </SynchronousCommand>
> +            </FirstLogonCommands>
> +        </component>
> +        <component name="Microsoft-Windows-International-Core" 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";>
> +            <InputLocale>0409:00000409</InputLocale>
> +            <SystemLocale>en-us</SystemLocale>
> +            <UILanguage>en-us</UILanguage>
> +            <UILanguageFallback>en-us</UILanguageFallback>
> +            <UserLocale>en-us</UserLocale>
> +        </component>
> +    </settings>
> +    <cpi:offlineImage cpi:source="wim:d:/os/vista/x64/sources/install.wim#Windows Vista ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
> +</unattend>
> --
> 1.5.3.6
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



-- 
Lucas
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux