Now win7 images is easy to go to startup repair screen, which make
many of our cases fail. This patch will disable startup repair screen
in win7 which caused by shutdown failures.

Signed-off-by: Feng Yang <[email protected]>
Signed-off-by: Amos Kong <[email protected]>
---
 0 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/client/tests/kvm/unattended/win7-32-autounattend.xml 
b/client/tests/kvm/unattended/win7-32-autounattend.xml
index a16cdd7..8efef2c 100644
--- a/client/tests/kvm/unattended/win7-32-autounattend.xml
+++ b/client/tests/kvm/unattended/win7-32-autounattend.xml
@@ -156,17 +156,21 @@
                                        <Order>5</Order>
                                </SynchronousCommand>
                                <SynchronousCommand wcm:action="add">
-                                       <CommandLine>%WINDIR%\System32\cmd /c 
E:\setuprss.bat</CommandLine>
+                                       <CommandLine>%WINDIR%\System32\cmd /c 
bcdedit /set {current} bootstatuspolicy ignoreallfailures</CommandLine>
                                        <Order>6</Order>
                                </SynchronousCommand>
                                <SynchronousCommand wcm:action="add">
-                                       <CommandLine>%WINDIR%\System32\cmd /c 
netsh interface ip set address "Local Area Connection" dhcp</CommandLine>
+                                       <CommandLine>%WINDIR%\System32\cmd /c 
E:\setuprss.bat</CommandLine>
                                        <Order>7</Order>
                                </SynchronousCommand>
                                <SynchronousCommand wcm:action="add">
-                                       <CommandLine>%WINDIR%\System32\cmd /c 
ping 10.0.2.2 -n 20 &#38;&#38; A:\finish.exe</CommandLine>
+                                       <CommandLine>%WINDIR%\System32\cmd /c 
netsh interface ip set address "Local Area Connection" dhcp</CommandLine>
                                        <Order>8</Order>
                                </SynchronousCommand>
+                               <SynchronousCommand wcm:action="add">
+                                       <CommandLine>%WINDIR%\System32\cmd /c 
ping 10.0.2.2 -n 20 &#38;&#38; A:\finish.exe</CommandLine>
+                                       <Order>9</Order>
+                               </SynchronousCommand>
                        </FirstLogonCommands>
                </component>
        </settings>
diff --git a/client/tests/kvm/unattended/win7-64-autounattend.xml 
b/client/tests/kvm/unattended/win7-64-autounattend.xml
index 65873f6..e2a42b8 100644
--- a/client/tests/kvm/unattended/win7-64-autounattend.xml
+++ b/client/tests/kvm/unattended/win7-64-autounattend.xml
@@ -156,17 +156,21 @@
                                        <Order>5</Order>
                                </SynchronousCommand>
                                <SynchronousCommand wcm:action="add">
-                                       <CommandLine>%WINDIR%\System32\cmd /c 
E:\setuprss.bat</CommandLine>
+                                       <CommandLine>%WINDIR%\System32\cmd /c 
bcdedit /set {current} bootstatuspolicy ignoreallfailures</CommandLine>
                                        <Order>6</Order>
                                </SynchronousCommand>
                                <SynchronousCommand wcm:action="add">
-                                       <CommandLine>%WINDIR%\System32\cmd /c 
netsh interface ip set address "Local Area Connection" dhcp</CommandLine>
+                                       <CommandLine>%WINDIR%\System32\cmd /c 
E:\setuprss.bat</CommandLine>
                                        <Order>7</Order>
                                </SynchronousCommand>
                                <SynchronousCommand wcm:action="add">
-                                       <CommandLine>%WINDIR%\System32\cmd /c 
ping 10.0.2.2 -n 20 &#38;&#38; A:\finish.exe</CommandLine>
+                                       <CommandLine>%WINDIR%\System32\cmd /c 
netsh interface ip set address "Local Area Connection" dhcp</CommandLine>
                                        <Order>8</Order>
                                </SynchronousCommand>
+                               <SynchronousCommand wcm:action="add">
+                                       <CommandLine>%WINDIR%\System32\cmd /c 
ping 10.0.2.2 -n 20 &#38;&#38; A:\finish.exe</CommandLine>
+                                       <Order>9</Order>
+                               </SynchronousCommand>
                        </FirstLogonCommands>
                </component>
        </settings>

_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to