From patchwork Fri Jul 1 08:01:40 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Meneghel Rodrigues X-Patchwork-Id: 934762 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p6181sx6011600 for ; Fri, 1 Jul 2011 08:01:54 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755067Ab1GAIBv (ORCPT ); Fri, 1 Jul 2011 04:01:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41223 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755057Ab1GAIBu (ORCPT ); Fri, 1 Jul 2011 04:01:50 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p6181nBU007140 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 1 Jul 2011 04:01:49 -0400 Received: from freedom.redhat.com (vpn-8-85.rdu.redhat.com [10.11.8.85]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p6181gBp001065; Fri, 1 Jul 2011 04:01:48 -0400 From: Lucas Meneghel Rodrigues To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, Lucas Meneghel Rodrigues Subject: [PATCH 3/3] KVM test: Reformat sample windows ini style unattended files Date: Fri, 1 Jul 2011 05:01:40 -0300 Message-Id: <1309507300-31050-4-git-send-email-lmr@redhat.com> In-Reply-To: <1309507300-31050-1-git-send-email-lmr@redhat.com> References: <1309507300-31050-1-git-send-email-lmr@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 01 Jul 2011 08:01:54 +0000 (UTC) If we prepend spaces on the key=value lines, ConfigParser will fail to parse the file. So let's reformat the files in a way that we won't have this problem again. Signed-off-by: Lucas Meneghel Rodrigues --- client/tests/kvm/unattended/win2000-32.sif | 95 ++++++++++++++------------- client/tests/kvm/unattended/win2003-32.sif | 78 +++++++++++----------- client/tests/kvm/unattended/win2003-64.sif | 78 +++++++++++----------- client/tests/kvm/unattended/winxp32.sif | 99 ++++++++++++++-------------- client/tests/kvm/unattended/winxp64.sif | 99 ++++++++++++++-------------- 5 files changed, 225 insertions(+), 224 deletions(-) diff --git a/client/tests/kvm/unattended/win2000-32.sif b/client/tests/kvm/unattended/win2000-32.sif index 8720851..6aa1848 100644 --- a/client/tests/kvm/unattended/win2000-32.sif +++ b/client/tests/kvm/unattended/win2000-32.sif @@ -1,73 +1,76 @@ -;SetupMgrTag [Data] - AutoPartition=1 - MsDosInitiated="0" - UnattendedInstall="Yes" +AutoPartition = 1 +MsDosInitiated = "0" +UnattendedInstall = "Yes" [Unattended] - Repartition=Yes - UnattendMode=FullUnattended - OemSkipEula=Yes - OemPreinstall=No - TargetPath=\WINDOWS - UnattendSwitch=Yes - CrashDumpSetting=1 - DriverSigningPolicy=ignore - WaitForReboot=no +Repartition = Yes +UnattendMode = FullUnattended +OemSkipEula = Yes +OemPreinstall = No +TargetPath = \WINDOWS +UnattendSwitch = Yes +CrashDumpSetting = 1 +DriverSigningPolicy = ignore +OemPnPDriversPath = KVM_TEST_NETWORK_DRIVER_PATH +WaitForReboot = no [GuiUnattended] - AdminPassword="1q2w3eP" - EncryptedAdminPassword=NO - TimeZone=85 - OemSkipWelcome=1 - AutoLogon=Yes - AutoLogonCount=1000 - OEMSkipRegional=1 +AdminPassword = "1q2w3eP" +EncryptedAdminPassword = NO +TimeZone = 85 +OemSkipWelcome = 1 +AutoLogon = Yes +AutoLogonCount = 1000 +OEMSkipRegional = 1 [UserData] - ProductKey=KVM_TEST_CDKEY - FullName="Autotest Mindless Drone" - OrgName="Autotest" - ComputerName=* +ProductKey = KVM_TEST_CDKEY +FullName = "Autotest Mindless Drone" +OrgName = "Autotest" +ComputerName = * [Identification] - JoinWorkgroup=WORKGROUP +JoinWorkgroup = WORKGROUP [Networking] - InstallDefaultComponents=Yes +InstallDefaultComponents = Yes [Proxy] - Proxy_Enable=0 - Use_Same_Proxy=0 +Proxy_Enable = 0 +Use_Same_Proxy = 0 [Components] - dialer=off - media_clips=off - media_utopia=off - msnexplr=off - netoc=off - OEAccess=off - templates=off - WMAccess=off - zonegames=off +dialer = off +media_clips = off +media_utopia = off +msnexplr = off +netoc = off +OEAccess = off +templates = off +WMAccess = off +zonegames = off [TerminalServices] - AllowConnections=1 +AllowConnections = 1 [WindowsFirewall] - Profiles=WindowsFirewall.TurnOffFirewall +Profiles = WindowsFirewall.TurnOffFirewall [WindowsFirewall.TurnOffFirewall] - Mode=0 +Mode = 0 [Branding] - BrandIEUsingUnattended=Yes +BrandIEUsingUnattended = Yes [Display] - Xresolution=1024 - YResolution=768 +Xresolution = 1024 +YResolution = 768 [GuiRunOnce] - Command0="cmd /c E:\setuprss.bat" - Command1="cmd /c netsh interface ip set address local dhcp" - Command2="cmd /c A:\finish.exe" +Command0 = "cmd /c KVM_TEST_VIRTIO_NETWORK_INSTALLER" +Command1 = "cmd /c E:\setuprss.bat" +Command2 = "cmd /c netsh interface ip set address local dhcp" +Command3 = "cmd /c sc config tlntsvr start= auto" +Command4 = "cmd /c net start telnet" +Command5 = "cmd /c A:\finish.exe" diff --git a/client/tests/kvm/unattended/win2003-32.sif b/client/tests/kvm/unattended/win2003-32.sif index 207cd2b..6e69b5e 100644 --- a/client/tests/kvm/unattended/win2003-32.sif +++ b/client/tests/kvm/unattended/win2003-32.sif @@ -1,66 +1,66 @@ [Data] - AutoPartition = 1 - MsDosInitiated = 0 - UnattendedInstall = Yes +AutoPartition = 1 +MsDosInitiated = 0 +UnattendedInstall = Yes [Unattended] - UnattendMode = FullUnattended - OemSkipEula = Yes - OemPreinstall = No - UnattendSwitch = Yes - CrashDumpSetting = 1 - DriverSigningPolicy = ignore - OemPnPDriversPath="KVM_TEST_NETWORK_DRIVER_PATH" - WaitForReboot = no - Repartition = yes +UnattendMode = FullUnattended +OemSkipEula = Yes +OemPreinstall = No +UnattendSwitch = Yes +CrashDumpSetting = 1 +DriverSigningPolicy = ignore +OemPnPDriversPath = KVM_TEST_NETWORK_DRIVER_PATH +WaitForReboot = no +Repartition = yes [GuiUnattended] - AdminPassword = "1q2w3eP" - AutoLogon = Yes - AutoLogonCount = 1000 - OEMSkipRegional = 1 - TimeZone = 85 - OemSkipWelcome = 1 +AdminPassword = "1q2w3eP" +AutoLogon = Yes +AutoLogonCount = 1000 +OEMSkipRegional = 1 +TimeZone = 85 +OemSkipWelcome = 1 [UserData] - ProductKey=KVM_TEST_CDKEY - FullName="Autotest Mindless Drone" - OrgName="Autotest" - ComputerName=* +ProductKey = KVM_TEST_CDKEY +FullName = "Autotest Mindless Drone" +OrgName = "Autotest" +ComputerName = * [LicenseFilePrintData] - AutoMode=PerServer - AutoUsers=15 +AutoMode = PerServer +AutoUsers = 15 [Identification] - JoinWorkgroup=WORKGROUP +JoinWorkgroup = WORKGROUP [Networking] - InstallDefaultComponents=Yes +InstallDefaultComponents = Yes [Components] [TerminalServices] - AllowConnections = 1 +AllowConnections = 1 [WindowsFirewall] - Profiles = WindowsFirewall.TurnOffFirewall +Profiles = WindowsFirewall.TurnOffFirewall [WindowsFirewall.TurnOffFirewall] - Mode = 0 +Mode = 0 [SetupParams] - local="Local Area Connection" +local = "Local Area Connection" [Display] - Xresolution=1024 - YResolution=768 +Xresolution = 1024 +YResolution = 768 [GuiRunOnce] - Command0="cmd /c KVM_TEST_VIRTIO_NETWORK_INSTALLER" - Command1="cmd /c sc config TlntSvr start= auto" - Command2="cmd /c netsh firewall set opmode disable" - Command3="cmd /c net start telnet" - Command4="cmd /c E:\setuprss.bat" - Command5="cmd /c netsh interface ip set address local dhcp" - Command6="cmd /c A:\finish.exe" +Command0 = "cmd /c KVM_TEST_VIRTIO_NETWORK_INSTALLER" +Command1 = "cmd /c sc config TlntSvr start= auto" +Command2 = "cmd /c netsh firewall set opmode disable" +Command3 = "cmd /c net start telnet" +Command4 = "cmd /c E:\setuprss.bat" +Command5 = "cmd /c netsh interface ip set address local dhcp" +Command6 = "cmd /c A:\finish.exe" diff --git a/client/tests/kvm/unattended/win2003-64.sif b/client/tests/kvm/unattended/win2003-64.sif index 207cd2b..6e69b5e 100644 --- a/client/tests/kvm/unattended/win2003-64.sif +++ b/client/tests/kvm/unattended/win2003-64.sif @@ -1,66 +1,66 @@ [Data] - AutoPartition = 1 - MsDosInitiated = 0 - UnattendedInstall = Yes +AutoPartition = 1 +MsDosInitiated = 0 +UnattendedInstall = Yes [Unattended] - UnattendMode = FullUnattended - OemSkipEula = Yes - OemPreinstall = No - UnattendSwitch = Yes - CrashDumpSetting = 1 - DriverSigningPolicy = ignore - OemPnPDriversPath="KVM_TEST_NETWORK_DRIVER_PATH" - WaitForReboot = no - Repartition = yes +UnattendMode = FullUnattended +OemSkipEula = Yes +OemPreinstall = No +UnattendSwitch = Yes +CrashDumpSetting = 1 +DriverSigningPolicy = ignore +OemPnPDriversPath = KVM_TEST_NETWORK_DRIVER_PATH +WaitForReboot = no +Repartition = yes [GuiUnattended] - AdminPassword = "1q2w3eP" - AutoLogon = Yes - AutoLogonCount = 1000 - OEMSkipRegional = 1 - TimeZone = 85 - OemSkipWelcome = 1 +AdminPassword = "1q2w3eP" +AutoLogon = Yes +AutoLogonCount = 1000 +OEMSkipRegional = 1 +TimeZone = 85 +OemSkipWelcome = 1 [UserData] - ProductKey=KVM_TEST_CDKEY - FullName="Autotest Mindless Drone" - OrgName="Autotest" - ComputerName=* +ProductKey = KVM_TEST_CDKEY +FullName = "Autotest Mindless Drone" +OrgName = "Autotest" +ComputerName = * [LicenseFilePrintData] - AutoMode=PerServer - AutoUsers=15 +AutoMode = PerServer +AutoUsers = 15 [Identification] - JoinWorkgroup=WORKGROUP +JoinWorkgroup = WORKGROUP [Networking] - InstallDefaultComponents=Yes +InstallDefaultComponents = Yes [Components] [TerminalServices] - AllowConnections = 1 +AllowConnections = 1 [WindowsFirewall] - Profiles = WindowsFirewall.TurnOffFirewall +Profiles = WindowsFirewall.TurnOffFirewall [WindowsFirewall.TurnOffFirewall] - Mode = 0 +Mode = 0 [SetupParams] - local="Local Area Connection" +local = "Local Area Connection" [Display] - Xresolution=1024 - YResolution=768 +Xresolution = 1024 +YResolution = 768 [GuiRunOnce] - Command0="cmd /c KVM_TEST_VIRTIO_NETWORK_INSTALLER" - Command1="cmd /c sc config TlntSvr start= auto" - Command2="cmd /c netsh firewall set opmode disable" - Command3="cmd /c net start telnet" - Command4="cmd /c E:\setuprss.bat" - Command5="cmd /c netsh interface ip set address local dhcp" - Command6="cmd /c A:\finish.exe" +Command0 = "cmd /c KVM_TEST_VIRTIO_NETWORK_INSTALLER" +Command1 = "cmd /c sc config TlntSvr start= auto" +Command2 = "cmd /c netsh firewall set opmode disable" +Command3 = "cmd /c net start telnet" +Command4 = "cmd /c E:\setuprss.bat" +Command5 = "cmd /c netsh interface ip set address local dhcp" +Command6 = "cmd /c A:\finish.exe" diff --git a/client/tests/kvm/unattended/winxp32.sif b/client/tests/kvm/unattended/winxp32.sif index 4696e29..6aa1848 100644 --- a/client/tests/kvm/unattended/winxp32.sif +++ b/client/tests/kvm/unattended/winxp32.sif @@ -1,77 +1,76 @@ -;SetupMgrTag [Data] - AutoPartition=1 - MsDosInitiated="0" - UnattendedInstall="Yes" +AutoPartition = 1 +MsDosInitiated = "0" +UnattendedInstall = "Yes" [Unattended] - Repartition=Yes - UnattendMode=FullUnattended - OemSkipEula=Yes - OemPreinstall=No - TargetPath=\WINDOWS - UnattendSwitch=Yes - CrashDumpSetting=1 - DriverSigningPolicy=ignore - OemPnPDriversPath="KVM_TEST_NETWORK_DRIVER_PATH" - WaitForReboot=no +Repartition = Yes +UnattendMode = FullUnattended +OemSkipEula = Yes +OemPreinstall = No +TargetPath = \WINDOWS +UnattendSwitch = Yes +CrashDumpSetting = 1 +DriverSigningPolicy = ignore +OemPnPDriversPath = KVM_TEST_NETWORK_DRIVER_PATH +WaitForReboot = no [GuiUnattended] - AdminPassword="1q2w3eP" - EncryptedAdminPassword=NO - TimeZone=85 - OemSkipWelcome=1 - AutoLogon=Yes - AutoLogonCount=1000 - OEMSkipRegional=1 +AdminPassword = "1q2w3eP" +EncryptedAdminPassword = NO +TimeZone = 85 +OemSkipWelcome = 1 +AutoLogon = Yes +AutoLogonCount = 1000 +OEMSkipRegional = 1 [UserData] - ProductKey=KVM_TEST_CDKEY - FullName="Autotest Mindless Drone" - OrgName="Autotest" - ComputerName=* +ProductKey = KVM_TEST_CDKEY +FullName = "Autotest Mindless Drone" +OrgName = "Autotest" +ComputerName = * [Identification] - JoinWorkgroup=WORKGROUP +JoinWorkgroup = WORKGROUP [Networking] - InstallDefaultComponents=Yes +InstallDefaultComponents = Yes [Proxy] - Proxy_Enable=0 - Use_Same_Proxy=0 +Proxy_Enable = 0 +Use_Same_Proxy = 0 [Components] - dialer=off - media_clips=off - media_utopia=off - msnexplr=off - netoc=off - OEAccess=off - templates=off - WMAccess=off - zonegames=off +dialer = off +media_clips = off +media_utopia = off +msnexplr = off +netoc = off +OEAccess = off +templates = off +WMAccess = off +zonegames = off [TerminalServices] - AllowConnections=1 +AllowConnections = 1 [WindowsFirewall] - Profiles=WindowsFirewall.TurnOffFirewall +Profiles = WindowsFirewall.TurnOffFirewall [WindowsFirewall.TurnOffFirewall] - Mode=0 +Mode = 0 [Branding] - BrandIEUsingUnattended=Yes +BrandIEUsingUnattended = Yes [Display] - Xresolution=1024 - YResolution=768 +Xresolution = 1024 +YResolution = 768 [GuiRunOnce] - Command0="cmd /c KVM_TEST_VIRTIO_NETWORK_INSTALLER" - Command1="cmd /c E:\setuprss.bat" - Command2="cmd /c netsh interface ip set address local dhcp" - Command3="cmd /c sc config tlntsvr start= auto" - Command4="cmd /c net start telnet" - Command5="cmd /c A:\finish.exe" +Command0 = "cmd /c KVM_TEST_VIRTIO_NETWORK_INSTALLER" +Command1 = "cmd /c E:\setuprss.bat" +Command2 = "cmd /c netsh interface ip set address local dhcp" +Command3 = "cmd /c sc config tlntsvr start= auto" +Command4 = "cmd /c net start telnet" +Command5 = "cmd /c A:\finish.exe" diff --git a/client/tests/kvm/unattended/winxp64.sif b/client/tests/kvm/unattended/winxp64.sif index 4696e29..6aa1848 100644 --- a/client/tests/kvm/unattended/winxp64.sif +++ b/client/tests/kvm/unattended/winxp64.sif @@ -1,77 +1,76 @@ -;SetupMgrTag [Data] - AutoPartition=1 - MsDosInitiated="0" - UnattendedInstall="Yes" +AutoPartition = 1 +MsDosInitiated = "0" +UnattendedInstall = "Yes" [Unattended] - Repartition=Yes - UnattendMode=FullUnattended - OemSkipEula=Yes - OemPreinstall=No - TargetPath=\WINDOWS - UnattendSwitch=Yes - CrashDumpSetting=1 - DriverSigningPolicy=ignore - OemPnPDriversPath="KVM_TEST_NETWORK_DRIVER_PATH" - WaitForReboot=no +Repartition = Yes +UnattendMode = FullUnattended +OemSkipEula = Yes +OemPreinstall = No +TargetPath = \WINDOWS +UnattendSwitch = Yes +CrashDumpSetting = 1 +DriverSigningPolicy = ignore +OemPnPDriversPath = KVM_TEST_NETWORK_DRIVER_PATH +WaitForReboot = no [GuiUnattended] - AdminPassword="1q2w3eP" - EncryptedAdminPassword=NO - TimeZone=85 - OemSkipWelcome=1 - AutoLogon=Yes - AutoLogonCount=1000 - OEMSkipRegional=1 +AdminPassword = "1q2w3eP" +EncryptedAdminPassword = NO +TimeZone = 85 +OemSkipWelcome = 1 +AutoLogon = Yes +AutoLogonCount = 1000 +OEMSkipRegional = 1 [UserData] - ProductKey=KVM_TEST_CDKEY - FullName="Autotest Mindless Drone" - OrgName="Autotest" - ComputerName=* +ProductKey = KVM_TEST_CDKEY +FullName = "Autotest Mindless Drone" +OrgName = "Autotest" +ComputerName = * [Identification] - JoinWorkgroup=WORKGROUP +JoinWorkgroup = WORKGROUP [Networking] - InstallDefaultComponents=Yes +InstallDefaultComponents = Yes [Proxy] - Proxy_Enable=0 - Use_Same_Proxy=0 +Proxy_Enable = 0 +Use_Same_Proxy = 0 [Components] - dialer=off - media_clips=off - media_utopia=off - msnexplr=off - netoc=off - OEAccess=off - templates=off - WMAccess=off - zonegames=off +dialer = off +media_clips = off +media_utopia = off +msnexplr = off +netoc = off +OEAccess = off +templates = off +WMAccess = off +zonegames = off [TerminalServices] - AllowConnections=1 +AllowConnections = 1 [WindowsFirewall] - Profiles=WindowsFirewall.TurnOffFirewall +Profiles = WindowsFirewall.TurnOffFirewall [WindowsFirewall.TurnOffFirewall] - Mode=0 +Mode = 0 [Branding] - BrandIEUsingUnattended=Yes +BrandIEUsingUnattended = Yes [Display] - Xresolution=1024 - YResolution=768 +Xresolution = 1024 +YResolution = 768 [GuiRunOnce] - Command0="cmd /c KVM_TEST_VIRTIO_NETWORK_INSTALLER" - Command1="cmd /c E:\setuprss.bat" - Command2="cmd /c netsh interface ip set address local dhcp" - Command3="cmd /c sc config tlntsvr start= auto" - Command4="cmd /c net start telnet" - Command5="cmd /c A:\finish.exe" +Command0 = "cmd /c KVM_TEST_VIRTIO_NETWORK_INSTALLER" +Command1 = "cmd /c E:\setuprss.bat" +Command2 = "cmd /c netsh interface ip set address local dhcp" +Command3 = "cmd /c sc config tlntsvr start= auto" +Command4 = "cmd /c net start telnet" +Command5 = "cmd /c A:\finish.exe"