From patchwork Thu Jul 22 04:23:14 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Meneghel Rodrigues X-Patchwork-Id: 113508 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o6M4NZ6i011758 for ; Thu, 22 Jul 2010 04:23:36 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753506Ab0GVEXd (ORCPT ); Thu, 22 Jul 2010 00:23:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:25385 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753201Ab0GVEX3 (ORCPT ); Thu, 22 Jul 2010 00:23:29 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o6M4NS20032714 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 22 Jul 2010 00:23:28 -0400 Received: from freedom.redhat.com (vpn-8-204.rdu.redhat.com [10.11.8.204]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o6M4NH6F019026; Thu, 22 Jul 2010 00:23:26 -0400 From: Lucas Meneghel Rodrigues To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, Lucas Meneghel Rodrigues Subject: [PATCH 3/3] KVM test: Unattended files changes to support virtio drivers install Date: Thu, 22 Jul 2010 01:23:14 -0300 Message-Id: <1279772594-10281-3-git-send-email-lmr@redhat.com> In-Reply-To: <1279772594-10281-1-git-send-email-lmr@redhat.com> References: <1279772594-10281-1-git-send-email-lmr@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 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.3 (demeter.kernel.org [140.211.167.41]); Thu, 22 Jul 2010 04:23:36 +0000 (UTC) diff --git a/client/tests/kvm/unattended/win2003-32.sif b/client/tests/kvm/unattended/win2003-32.sif index f58b0b0..fab2cf5 100644 --- a/client/tests/kvm/unattended/win2003-32.sif +++ b/client/tests/kvm/unattended/win2003-32.sif @@ -10,6 +10,7 @@ UnattendSwitch = Yes CrashDumpSetting = 1 DriverSigningPolicy = ignore + OemPnPDriversPath="KVM_TEST_NETWORK_DRIVER_PATH" WaitForReboot = no Repartition = yes @@ -56,9 +57,10 @@ YResolution=768 [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 E:\setuprss.bat" - Command4="cmd /c netsh interface ip set address local dhcp" - Command5="cmd /c ping 10.0.2.2 -n 20 && 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 ping 10.0.2.2 -n 20 && A:\finish.exe" diff --git a/client/tests/kvm/unattended/win2003-64.sif b/client/tests/kvm/unattended/win2003-64.sif index f58b0b0..fab2cf5 100644 --- a/client/tests/kvm/unattended/win2003-64.sif +++ b/client/tests/kvm/unattended/win2003-64.sif @@ -10,6 +10,7 @@ UnattendSwitch = Yes CrashDumpSetting = 1 DriverSigningPolicy = ignore + OemPnPDriversPath="KVM_TEST_NETWORK_DRIVER_PATH" WaitForReboot = no Repartition = yes @@ -56,9 +57,10 @@ YResolution=768 [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 E:\setuprss.bat" - Command4="cmd /c netsh interface ip set address local dhcp" - Command5="cmd /c ping 10.0.2.2 -n 20 && 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 ping 10.0.2.2 -n 20 && A:\finish.exe" diff --git a/client/tests/kvm/unattended/win2008-32-autounattend.xml b/client/tests/kvm/unattended/win2008-32-autounattend.xml index 44a9fc4..89af07f 100644 --- a/client/tests/kvm/unattended/win2008-32-autounattend.xml +++ b/client/tests/kvm/unattended/win2008-32-autounattend.xml @@ -15,6 +15,20 @@ en-us en-us + + + + KVM_TEST_STORAGE_DRIVER_PATH + + + KVM_TEST_NETWORK_DRIVER_PATH + + + + %WINDIR%\System32\cmd /c KVM_TEST_VIRTIO_NETWORK_INSTALLER" 1 - %WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer" + %WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer" 2 - %WINDIR%\System32\cmd /c sc config TlntSvr start= auto + %WINDIR%\System32\cmd /c sc config TlntSvr start= auto 3 - %WINDIR%\System32\cmd /c netsh firewall set opmode disable + %WINDIR%\System32\cmd /c netsh firewall set opmode disable 4 - %WINDIR%\System32\cmd /c net start telnet + %WINDIR%\System32\cmd /c net start telnet 5 - %WINDIR%\System32\cmd /c E:\setuprss.bat + %WINDIR%\System32\cmd /c E:\setuprss.bat 6 - %WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp + %WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp 7 + + %WINDIR%\System32\cmd /c ping 10.0.2.2 -n 20 && A:\finish.exe + 8 diff --git a/client/tests/kvm/unattended/win2008-64-autounattend.xml b/client/tests/kvm/unattended/win2008-64-autounattend.xml index ea0a524..98f5589 100644 --- a/client/tests/kvm/unattended/win2008-64-autounattend.xml +++ b/client/tests/kvm/unattended/win2008-64-autounattend.xml @@ -70,6 +70,20 @@ en-us en-us + + + + KVM_TEST_STORAGE_DRIVER_PATH + + + KVM_TEST_NETWORK_DRIVER_PATH + + + + %WINDIR%\System32\cmd /c KVM_TEST_VIRTIO_NETWORK_INSTALLER" 1 - %WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer" + %WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer" 2 - %WINDIR%\System32\cmd /c sc config TlntSvr start= auto + %WINDIR%\System32\cmd /c sc config TlntSvr start= auto 3 - %WINDIR%\System32\cmd /c netsh firewall set opmode disable + %WINDIR%\System32\cmd /c netsh firewall set opmode disable 4 - %WINDIR%\System32\cmd /c net start telnet + %WINDIR%\System32\cmd /c net start telnet 5 - %WINDIR%\System32\cmd /c E:\setuprss.bat + %WINDIR%\System32\cmd /c E:\setuprss.bat 6 - %WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp + %WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp 7 + + %WINDIR%\System32\cmd /c ping 10.0.2.2 -n 20 && A:\finish.exe + 8 diff --git a/client/tests/kvm/unattended/win2008-r2-autounattend.xml b/client/tests/kvm/unattended/win2008-r2-autounattend.xml index ea0a524..b624d10 100644 --- a/client/tests/kvm/unattended/win2008-r2-autounattend.xml +++ b/client/tests/kvm/unattended/win2008-r2-autounattend.xml @@ -100,6 +100,20 @@ en-US en-US + + + + KVM_TEST_STORAGE_DRIVER_PATH + + + KVM_TEST_NETWORK_DRIVER_PATH + + + + %WINDIR%\System32\cmd /c KVM_TEST_VIRTIO_NETWORK_INSTALLER" 1 - %WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer" + %WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer" 2 - %WINDIR%\System32\cmd /c sc config TlntSvr start= auto + %WINDIR%\System32\cmd /c sc config TlntSvr start= auto 3 - %WINDIR%\System32\cmd /c netsh firewall set opmode disable + %WINDIR%\System32\cmd /c netsh firewall set opmode disable 4 - %WINDIR%\System32\cmd /c net start telnet + %WINDIR%\System32\cmd /c net start telnet 5 - %WINDIR%\System32\cmd /c E:\setuprss.bat + %WINDIR%\System32\cmd /c E:\setuprss.bat 6 - %WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp + %WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp 7 + + %WINDIR%\System32\cmd /c ping 10.0.2.2 -n 20 && A:\finish.exe + 8 diff --git a/client/tests/kvm/unattended/win7-32-autounattend.xml b/client/tests/kvm/unattended/win7-32-autounattend.xml index a577a91..a16cdd7 100644 --- a/client/tests/kvm/unattended/win7-32-autounattend.xml +++ b/client/tests/kvm/unattended/win7-32-autounattend.xml @@ -15,6 +15,20 @@ en-us en-us + + + + KVM_TEST_STORAGE_DRIVER_PATH + + + KVM_TEST_NETWORK_DRIVER_PATH + + + - %WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer" + %WINDIR%\System32\cmd /c KVM_TEST_VIRTIO_NETWORK_INSTALLER" 1 - %WINDIR%\System32\cmd /c sc config TlntSvr start= auto + %WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer" 2 - %WINDIR%\System32\cmd /c netsh firewall set opmode disable + %WINDIR%\System32\cmd /c sc config TlntSvr start= auto 3 - %WINDIR%\System32\cmd /c net start telnet + %WINDIR%\System32\cmd /c netsh firewall set opmode disable 4 - %WINDIR%\System32\cmd /c E:\setuprss.bat + %WINDIR%\System32\cmd /c net start telnet 5 - %WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp + %WINDIR%\System32\cmd /c E:\setuprss.bat 6 - %WINDIR%\System32\cmd /c ping 10.0.2.2 -n 20 && A:\finish.exe + %WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp 7 + + %WINDIR%\System32\cmd /c ping 10.0.2.2 -n 20 && A:\finish.exe + 8 + diff --git a/client/tests/kvm/unattended/win7-64-autounattend.xml b/client/tests/kvm/unattended/win7-64-autounattend.xml index fec8017..65873f6 100644 --- a/client/tests/kvm/unattended/win7-64-autounattend.xml +++ b/client/tests/kvm/unattended/win7-64-autounattend.xml @@ -15,6 +15,20 @@ en-us en-us + + + + KVM_TEST_STORAGE_DRIVER_PATH + + + KVM_TEST_NETWORK_DRIVER_PATH + + + - %WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer" + %WINDIR%\System32\cmd /c KVM_TEST_VIRTIO_NETWORK_INSTALLER" 1 - %WINDIR%\System32\cmd /c sc config TlntSvr start= auto + %WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer" 2 - %WINDIR%\System32\cmd /c netsh firewall set opmode disable + %WINDIR%\System32\cmd /c sc config TlntSvr start= auto 3 - %WINDIR%\System32\cmd /c net start telnet + %WINDIR%\System32\cmd /c netsh firewall set opmode disable 4 - %WINDIR%\System32\cmd /c E:\setuprss.bat + %WINDIR%\System32\cmd /c net start telnet 5 - %WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp + %WINDIR%\System32\cmd /c E:\setuprss.bat 6 - %WINDIR%\System32\cmd /c ping 10.0.2.2 -n 20 && A:\finish.exe + %WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp 7 + + %WINDIR%\System32\cmd /c ping 10.0.2.2 -n 20 && A:\finish.exe + 8 + diff --git a/client/tests/kvm/unattended/winvista-32-autounattend.xml b/client/tests/kvm/unattended/winvista-32-autounattend.xml index 7835a64..d4e8c5c 100644 --- a/client/tests/kvm/unattended/winvista-32-autounattend.xml +++ b/client/tests/kvm/unattended/winvista-32-autounattend.xml @@ -15,6 +15,20 @@ en-us en-us + + + + KVM_TEST_STORAGE_DRIVER_PATH + + + KVM_TEST_NETWORK_DRIVER_PATH + + + + %WINDIR%\System32\cmd /c KVM_TEST_VIRTIO_NETWORK_INSTALLER" 1 - %WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer" + %WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer" 2 - %WINDIR%\System32\cmd /c sc config TlntSvr start= auto + %WINDIR%\System32\cmd /c sc config TlntSvr start= auto 3 - %WINDIR%\System32\cmd /c netsh firewall set opmode disable + %WINDIR%\System32\cmd /c netsh firewall set opmode disable 4 - %WINDIR%\System32\cmd /c net start telnet + %WINDIR%\System32\cmd /c net start telnet 5 - %WINDIR%\System32\cmd /c E:\setuprss.bat + %WINDIR%\System32\cmd /c E:\setuprss.bat 6 - %WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp + %WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp 7 + + %WINDIR%\System32\cmd /c ping 10.0.2.2 -n 20 && A:\finish.exe + 8 diff --git a/client/tests/kvm/unattended/winvista-64-autounattend.xml b/client/tests/kvm/unattended/winvista-64-autounattend.xml index ad68bf9..16d4850 100644 --- a/client/tests/kvm/unattended/winvista-64-autounattend.xml +++ b/client/tests/kvm/unattended/winvista-64-autounattend.xml @@ -62,6 +62,20 @@ en-us en-us + + + + KVM_TEST_STORAGE_DRIVER_PATH + + + KVM_TEST_NETWORK_DRIVER_PATH + + + + %WINDIR%\System32\cmd /c KVM_TEST_VIRTIO_NETWORK_INSTALLER" 1 - %WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer" + %WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer" 2 - %WINDIR%\System32\cmd /c sc config TlntSvr start= auto + %WINDIR%\System32\cmd /c sc config TlntSvr start= auto 3 - %WINDIR%\System32\cmd /c netsh firewall set opmode disable + %WINDIR%\System32\cmd /c netsh firewall set opmode disable 4 - %WINDIR%\System32\cmd /c net start telnet + %WINDIR%\System32\cmd /c net start telnet 5 - %WINDIR%\System32\cmd /c E:\setuprss.bat + %WINDIR%\System32\cmd /c E:\setuprss.bat 6 - %WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp + %WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp 7 + + %WINDIR%\System32\cmd /c ping 10.0.2.2 -n 20 && A:\finish.exe + 8 diff --git a/client/tests/kvm/unattended/winxp32.sif b/client/tests/kvm/unattended/winxp32.sif index 7562846..b9a2ab6 100644 --- a/client/tests/kvm/unattended/winxp32.sif +++ b/client/tests/kvm/unattended/winxp32.sif @@ -13,6 +13,7 @@ UnattendSwitch=Yes CrashDumpSetting=1 DriverSigningPolicy=ignore + OemPnPDriversPath="KVM_TEST_NETWORK_DRIVER_PATH" WaitForReboot=no [GuiUnattended] @@ -68,6 +69,7 @@ YResolution=768 [GuiRunOnce] - Command0="cmd /c E:\setuprss.bat" - Command1="cmd /c netsh interface ip set address local dhcp" - Command2="cmd /c ping 10.0.2.2 -n 20 && 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 ping 10.0.2.2 -n 20 && A:\finish.exe" diff --git a/client/tests/kvm/unattended/winxp64.sif b/client/tests/kvm/unattended/winxp64.sif index 7562846..b9a2ab6 100644 --- a/client/tests/kvm/unattended/winxp64.sif +++ b/client/tests/kvm/unattended/winxp64.sif @@ -13,6 +13,7 @@ UnattendSwitch=Yes CrashDumpSetting=1 DriverSigningPolicy=ignore + OemPnPDriversPath="KVM_TEST_NETWORK_DRIVER_PATH" WaitForReboot=no [GuiUnattended] @@ -68,6 +69,7 @@ YResolution=768 [GuiRunOnce] - Command0="cmd /c E:\setuprss.bat" - Command1="cmd /c netsh interface ip set address local dhcp" - Command2="cmd /c ping 10.0.2.2 -n 20 && 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 ping 10.0.2.2 -n 20 && A:\finish.exe"