Skip to contentSkip to conversation

KVM Test: Set bootstatuspolicy to ignoreallfailures for Win2008 and r2 in autounattend.xml

PATCH In review Feng Yang 2 participants 4 messages Oct 20, 2010 KVM

lore
Share & tools
lore

Feng Yang

author
#0 lore raw

PATCH 1/1 KVM Test: Set bootstatuspolicy to ignoreallfailures for Win2008 and r2 in autounattend.xml

Windows 2008 image is easy to go to startup repair screen, which make many of our cases fail. This patch will disable startup repair screen in win2008 which caused by shutdown failures.

---
 .../kvm/unattended/win2008-32-autounattend.xml     |   10 +++++++---
 .../kvm/unattended/win2008-64-autounattend.xml     |   10 +++++++---
 .../kvm/unattended/win2008-r2-autounattend.xml     |   10 +++++++---
 3 files changed, 21 insertions(+), 9 deletions(-)
client/tests/kvm/unattended/win2008-32-autounattend.xml +7 -3
index 89af07f..7e8e160 100644
@@ -149,16 +149,20 @@
 					<Order>5</Order>
 				</SynchronousCommand>
 				<SynchronousCommand wcm:action="add">
+					<CommandLine>%WINDIR%\System32\cmd /c bcdedit /set {current} bootstatuspolicy ignoreallfailures</CommandLine>
+			  		<Order>6</Order>
+				</SynchronousCommand>
+				<SynchronousCommand wcm:action="add">
 					<CommandLine>%WINDIR%\System32\cmd /c E:\setuprss.bat</CommandLine>
-					<Order>6</Order>
+					<Order>7</Order>
 				</SynchronousCommand>
 				<SynchronousCommand wcm:action="add">
 					<CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp</CommandLine>
-					<Order>7</Order>
+					<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>8</Order>
+					<Order>9</Order>
 				</SynchronousCommand>
 			</FirstLogonCommands>
 			<OOBE>
client/tests/kvm/unattended/win2008-64-autounattend.xml +7 -3
index 98f5589..fce6582 100644
@@ -158,17 +158,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>
 			<OOBE>
 				<HideEULAPage>true</HideEULAPage>
client/tests/kvm/unattended/win2008-r2-autounattend.xml +7 -3
index b624d10..948e9a1 100644
@@ -158,17 +158,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>
 			<OOBE>
 				<HideEULAPage>true</HideEULAPage>
Signature · 1 line
1.6.5.2
#1 lore raw
Quoted 5 lines · Feng Yang

Windows 2008 image is easy to go to startup repair screen, which make many of our cases fail. This patch will disable startup repair screen in win2008 which caused by shutdown failures.

Shouldn't it be easier to add the line to setuprss.bat? Or do you specifically want to target win2008?

Quoted 91 lines
 .../kvm/unattended/win2008-32-autounattend.xml     |   10 +++++++---
 .../kvm/unattended/win2008-64-autounattend.xml     |   10 +++++++---
 .../kvm/unattended/win2008-r2-autounattend.xml     |   10 +++++++---
 3 files changed, 21 insertions(+), 9 deletions(-)
client/tests/kvm/unattended/win2008-32-autounattend.xml +7 -3
index 89af07f..7e8e160 100644
@@ -149,16 +149,20 @@
 					<Order>5</Order>
 				</SynchronousCommand>
 				<SynchronousCommand wcm:action="add">
+					<CommandLine>%WINDIR%\System32\cmd /c bcdedit /set {current} bootstatuspolicy ignoreallfailures</CommandLine>
+			  		<Order>6</Order>
+				</SynchronousCommand>
+				<SynchronousCommand wcm:action="add">
 					<CommandLine>%WINDIR%\System32\cmd /c E:\setuprss.bat</CommandLine>
-					<Order>6</Order>
+					<Order>7</Order>
 				</SynchronousCommand>
 				<SynchronousCommand wcm:action="add">
 					<CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp</CommandLine>
-					<Order>7</Order>
+					<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>8</Order>
+					<Order>9</Order>
 				</SynchronousCommand>
 			</FirstLogonCommands>
 			<OOBE>
client/tests/kvm/unattended/win2008-64-autounattend.xml +7 -3
index 98f5589..fce6582 100644
@@ -158,17 +158,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>
 			<OOBE>
 				<HideEULAPage>true</HideEULAPage>
client/tests/kvm/unattended/win2008-r2-autounattend.xml +7 -3
index b624d10..948e9a1 100644
@@ -158,17 +158,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>
 			<OOBE>
 				<HideEULAPage>true</HideEULAPage>
author
#2 lore raw
Quoted 9 lines · ----- "Michael Goldish

From: "Michael Goldish" <[email protected]>
To: "Feng Yang" <[email protected]>
Cc: [email protected], [email protected]
Sent: Wednesday, October 20, 2010 4:49:29 PM GMT +08:00 Beijing / Chongqing / Hong Kong / Urumqi
Subject: Re: [PATCH] KVM Test: Set bootstatuspolicy to ignoreallfailures for Win2008 and r2 in autounattend.xml

Quoted 1 line · Feng Yang

Windows 2008 image is easy to go to startup repair screen, which

make

Quoted 8 lines
Quoted 1 line

many of our cases fail. This patch will disable startup repair

screen

Quoted 3 lines

in win2008 which caused by shutdown failures.

Shouldn't it be easier to add the line to setuprss.bat? Or do you specifically want to target win2008?

Thanks for your comment.

There is not bcdedit command in older windows, e.g. 2003. So we'd better do not add the line to setuprss.bat.

Quoted 121 lines
Quoted 2 lines
 .../kvm/unattended/win2008-32-autounattend.xml     |   10

+++++++---

Quoted 1 line
 .../kvm/unattended/win2008-64-autounattend.xml     |   10

+++++++---

Quoted 1 line
 .../kvm/unattended/win2008-r2-autounattend.xml     |   10

+++++++---

Review

Quoted 3 lines
 3 files changed, 21 insertions(+), 9 deletions(-)
(quoted diff) +0 -0

b/client/tests/kvm/unattended/win2008-32-autounattend.xml

client/tests/kvm/unattended/win2008-32-autounattend.xml line 152

Quoted 8 lines

index 89af07f..7e8e160 100644

client/tests/kvm/unattended/win2008-32-autounattend.xml +1 -0
@@ -149,16 +149,20 @@
 					<Order>5</Order>
 				</SynchronousCommand>
 				<SynchronousCommand wcm:action="add">
+					<CommandLine>%WINDIR%\System32\cmd /c bcdedit /set {current}

bootstatuspolicy ignoreallfailures</CommandLine>

client/tests/kvm/unattended/win2008-32-autounattend.xml

Quoted 4 lines
client/tests/kvm/unattended/win2008-32-autounattend.xml +3 -0
+			  		<Order>6</Order>
+				</SynchronousCommand>
+				<SynchronousCommand wcm:action="add">
 					<CommandLine>%WINDIR%\System32\cmd /c

E:\setuprss.bat</CommandLine>

client/tests/kvm/unattended/win2008-32-autounattend.xml

Quoted 5 lines
client/tests/kvm/unattended/win2008-32-autounattend.xml +1 -1
-					<Order>6</Order>
+					<Order>7</Order>
 				</SynchronousCommand>
 				<SynchronousCommand wcm:action="add">
 					<CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set

address "Local Area Connection" dhcp</CommandLine>

client/tests/kvm/unattended/win2008-32-autounattend.xml

Quoted 5 lines
client/tests/kvm/unattended/win2008-32-autounattend.xml +1 -1
-					<Order>7</Order>
+					<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>

Review

Quoted 6 lines
client/tests/kvm/unattended/win2008-32-autounattend.xml +1 -1
-					<Order>8</Order>
+					<Order>9</Order>
 				</SynchronousCommand>
 			</FirstLogonCommands>
 			<OOBE>
(quoted diff) +0 -0

b/client/tests/kvm/unattended/win2008-64-autounattend.xml

client/tests/kvm/unattended/win2008-64-autounattend.xml line 161

Quoted 8 lines

index 98f5589..fce6582 100644

client/tests/kvm/unattended/win2008-64-autounattend.xml +0 -1
@@ -158,17 +158,21 @@
 					<Order>5</Order>
 				</SynchronousCommand>
 				<SynchronousCommand wcm:action="add">
-					<CommandLine>%WINDIR%\System32\cmd /c

E:\setuprss.bat</CommandLine>

client/tests/kvm/unattended/win2008-64-autounattend.xml line 161

Quoted 1 line
client/tests/kvm/unattended/win2008-64-autounattend.xml +1 -0
+					<CommandLine>%WINDIR%\System32\cmd /c bcdedit /set {current}

bootstatuspolicy ignoreallfailures</CommandLine>

client/tests/kvm/unattended/win2008-64-autounattend.xml

Quoted 4 lines
client/tests/kvm/unattended/win2008-64-autounattend.xml +0 -1
 					<Order>6</Order>
 				</SynchronousCommand>
 				<SynchronousCommand wcm:action="add">
-					<CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set

address "Local Area Connection" dhcp</CommandLine>

client/tests/kvm/unattended/win2008-64-autounattend.xml line 165

Quoted 1 line
client/tests/kvm/unattended/win2008-64-autounattend.xml +1 -0
+					<CommandLine>%WINDIR%\System32\cmd /c

E:\setuprss.bat</CommandLine>

client/tests/kvm/unattended/win2008-64-autounattend.xml

Quoted 4 lines
client/tests/kvm/unattended/win2008-64-autounattend.xml +0 -1
 					<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>

client/tests/kvm/unattended/win2008-64-autounattend.xml line 169

Quoted 1 line
client/tests/kvm/unattended/win2008-64-autounattend.xml +1 -0
+					<CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set

address "Local Area Connection" dhcp</CommandLine>

client/tests/kvm/unattended/win2008-64-autounattend.xml

Quoted 4 lines
client/tests/kvm/unattended/win2008-64-autounattend.xml +2 -0
 					<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>

Review

Quoted 6 lines
client/tests/kvm/unattended/win2008-64-autounattend.xml +2 -0
+					<Order>9</Order>
+				</SynchronousCommand>
 			</FirstLogonCommands>
 			<OOBE>
 				<HideEULAPage>true</HideEULAPage>
(quoted diff) +0 -0

b/client/tests/kvm/unattended/win2008-r2-autounattend.xml

client/tests/kvm/unattended/win2008-r2-autounattend.xml line 161

Quoted 8 lines

index b624d10..948e9a1 100644

client/tests/kvm/unattended/win2008-r2-autounattend.xml +0 -1
@@ -158,17 +158,21 @@
 					<Order>5</Order>
 				</SynchronousCommand>
 				<SynchronousCommand wcm:action="add">
-					<CommandLine>%WINDIR%\System32\cmd /c

E:\setuprss.bat</CommandLine>

client/tests/kvm/unattended/win2008-r2-autounattend.xml line 161

Quoted 1 line
client/tests/kvm/unattended/win2008-r2-autounattend.xml +1 -0
+					<CommandLine>%WINDIR%\System32\cmd /c bcdedit /set {current}

bootstatuspolicy ignoreallfailures</CommandLine>

client/tests/kvm/unattended/win2008-r2-autounattend.xml line 165

Quoted 4 lines
client/tests/kvm/unattended/win2008-r2-autounattend.xml +0 -1
 					<Order>6</Order>
 				</SynchronousCommand>
 				<SynchronousCommand wcm:action="add">
-					<CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set

address "Local Area Connection" dhcp</CommandLine>

client/tests/kvm/unattended/win2008-r2-autounattend.xml line 165

Quoted 1 line
client/tests/kvm/unattended/win2008-r2-autounattend.xml +1 -0
+					<CommandLine>%WINDIR%\System32\cmd /c

E:\setuprss.bat</CommandLine>

client/tests/kvm/unattended/win2008-r2-autounattend.xml line 169

Quoted 4 lines
client/tests/kvm/unattended/win2008-r2-autounattend.xml +0 -1
 					<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>

client/tests/kvm/unattended/win2008-r2-autounattend.xml line 169

Quoted 1 line
client/tests/kvm/unattended/win2008-r2-autounattend.xml +1 -0
+					<CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set

address "Local Area Connection" dhcp</CommandLine>

client/tests/kvm/unattended/win2008-r2-autounattend.xml line 173

Quoted 4 lines
client/tests/kvm/unattended/win2008-r2-autounattend.xml +2 -0
 					<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>

client/tests/kvm/unattended/win2008-r2-autounattend.xml line 178

Quoted 5 lines
client/tests/kvm/unattended/win2008-r2-autounattend.xml +2 -0
+					<Order>9</Order>
+				</SynchronousCommand>
 			</FirstLogonCommands>
 			<OOBE>
 				<HideEULAPage>true</HideEULAPage>

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

#3 lore raw
Quoted 16 lines · Feng Yang
Quoted 13 lines · ----- "Michael Goldish

From: "Michael Goldish" <[email protected]>
To: "Feng Yang" <[email protected]>
Cc: [email protected], [email protected]
Sent: Wednesday, October 20, 2010 4:49:29 PM GMT +08:00 Beijing / Chongqing / Hong Kong / Urumqi
Subject: Re: [PATCH] KVM Test: Set bootstatuspolicy to ignoreallfailures for Win2008 and r2 in autounattend.xml

Quoted 1 line · Feng Yang

Windows 2008 image is easy to go to startup repair screen, which

make

Quoted 1 line

many of our cases fail. This patch will disable startup repair

screen

Quoted 2 lines

in win2008 which caused by shutdown failures.

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

Shouldn't it be easier to add the line to setuprss.bat? Or do you specifically want to target win2008?

Thanks for your comment.

There is not bcdedit command in older windows, e.g. 2003. So we'd better do not add the line to setuprss.bat.

setuprss.bat already has a few commands that only work on some Windows versions. They fail silently and that's fine. Still, I suppose adding bcdedit to the xml is also fine. We can change it later.

Quoted 115 lines
Quoted 115 lines
Quoted 1 line
 .../kvm/unattended/win2008-32-autounattend.xml     |   10

+++++++---

Quoted 1 line
 .../kvm/unattended/win2008-64-autounattend.xml     |   10

+++++++---

Quoted 1 line
 .../kvm/unattended/win2008-r2-autounattend.xml     |   10

+++++++---

Review

Quoted 3 lines
 3 files changed, 21 insertions(+), 9 deletions(-)
(quoted diff) +0 -0

b/client/tests/kvm/unattended/win2008-32-autounattend.xml

client/tests/kvm/unattended/win2008-32-autounattend.xml line 152

Quoted 8 lines

index 89af07f..7e8e160 100644

client/tests/kvm/unattended/win2008-32-autounattend.xml +1 -0
@@ -149,16 +149,20 @@
 					<Order>5</Order>
 				</SynchronousCommand>
 				<SynchronousCommand wcm:action="add">
+					<CommandLine>%WINDIR%\System32\cmd /c bcdedit /set {current}

bootstatuspolicy ignoreallfailures</CommandLine>

client/tests/kvm/unattended/win2008-32-autounattend.xml

Quoted 4 lines
client/tests/kvm/unattended/win2008-32-autounattend.xml +3 -0
+			  		<Order>6</Order>
+				</SynchronousCommand>
+				<SynchronousCommand wcm:action="add">
 					<CommandLine>%WINDIR%\System32\cmd /c

E:\setuprss.bat</CommandLine>

client/tests/kvm/unattended/win2008-32-autounattend.xml

Quoted 5 lines
client/tests/kvm/unattended/win2008-32-autounattend.xml +1 -1
-					<Order>6</Order>
+					<Order>7</Order>
 				</SynchronousCommand>
 				<SynchronousCommand wcm:action="add">
 					<CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set

address "Local Area Connection" dhcp</CommandLine>

client/tests/kvm/unattended/win2008-32-autounattend.xml

Quoted 5 lines
client/tests/kvm/unattended/win2008-32-autounattend.xml +1 -1
-					<Order>7</Order>
+					<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>

Review

Quoted 6 lines
client/tests/kvm/unattended/win2008-32-autounattend.xml +1 -1
-					<Order>8</Order>
+					<Order>9</Order>
 				</SynchronousCommand>
 			</FirstLogonCommands>
 			<OOBE>
(quoted diff) +0 -0

b/client/tests/kvm/unattended/win2008-64-autounattend.xml

client/tests/kvm/unattended/win2008-64-autounattend.xml line 161

Quoted 8 lines

index 98f5589..fce6582 100644

client/tests/kvm/unattended/win2008-64-autounattend.xml +0 -1
@@ -158,17 +158,21 @@
 					<Order>5</Order>
 				</SynchronousCommand>
 				<SynchronousCommand wcm:action="add">
-					<CommandLine>%WINDIR%\System32\cmd /c

E:\setuprss.bat</CommandLine>

client/tests/kvm/unattended/win2008-64-autounattend.xml line 161

Quoted 1 line
client/tests/kvm/unattended/win2008-64-autounattend.xml +1 -0
+					<CommandLine>%WINDIR%\System32\cmd /c bcdedit /set {current}

bootstatuspolicy ignoreallfailures</CommandLine>

client/tests/kvm/unattended/win2008-64-autounattend.xml

Quoted 4 lines
client/tests/kvm/unattended/win2008-64-autounattend.xml +0 -1
 					<Order>6</Order>
 				</SynchronousCommand>
 				<SynchronousCommand wcm:action="add">
-					<CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set

address "Local Area Connection" dhcp</CommandLine>

client/tests/kvm/unattended/win2008-64-autounattend.xml line 165

Quoted 1 line
client/tests/kvm/unattended/win2008-64-autounattend.xml +1 -0
+					<CommandLine>%WINDIR%\System32\cmd /c

E:\setuprss.bat</CommandLine>

client/tests/kvm/unattended/win2008-64-autounattend.xml

Quoted 4 lines
client/tests/kvm/unattended/win2008-64-autounattend.xml +0 -1
 					<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>

client/tests/kvm/unattended/win2008-64-autounattend.xml line 169

Quoted 1 line
client/tests/kvm/unattended/win2008-64-autounattend.xml +1 -0
+					<CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set

address "Local Area Connection" dhcp</CommandLine>

client/tests/kvm/unattended/win2008-64-autounattend.xml

Quoted 4 lines
client/tests/kvm/unattended/win2008-64-autounattend.xml +2 -0
 					<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>

Review

Quoted 6 lines
client/tests/kvm/unattended/win2008-64-autounattend.xml +2 -0
+					<Order>9</Order>
+				</SynchronousCommand>
 			</FirstLogonCommands>
 			<OOBE>
 				<HideEULAPage>true</HideEULAPage>
(quoted diff) +0 -0

b/client/tests/kvm/unattended/win2008-r2-autounattend.xml

client/tests/kvm/unattended/win2008-r2-autounattend.xml line 161

Quoted 8 lines

index b624d10..948e9a1 100644

client/tests/kvm/unattended/win2008-r2-autounattend.xml +0 -1
@@ -158,17 +158,21 @@
 					<Order>5</Order>
 				</SynchronousCommand>
 				<SynchronousCommand wcm:action="add">
-					<CommandLine>%WINDIR%\System32\cmd /c

E:\setuprss.bat</CommandLine>

client/tests/kvm/unattended/win2008-r2-autounattend.xml line 161

Quoted 1 line
client/tests/kvm/unattended/win2008-r2-autounattend.xml +1 -0
+					<CommandLine>%WINDIR%\System32\cmd /c bcdedit /set {current}

bootstatuspolicy ignoreallfailures</CommandLine>

client/tests/kvm/unattended/win2008-r2-autounattend.xml line 165

Quoted 4 lines
client/tests/kvm/unattended/win2008-r2-autounattend.xml +0 -1
 					<Order>6</Order>
 				</SynchronousCommand>
 				<SynchronousCommand wcm:action="add">
-					<CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set

address "Local Area Connection" dhcp</CommandLine>

client/tests/kvm/unattended/win2008-r2-autounattend.xml line 165

Quoted 1 line
client/tests/kvm/unattended/win2008-r2-autounattend.xml +1 -0
+					<CommandLine>%WINDIR%\System32\cmd /c

E:\setuprss.bat</CommandLine>

client/tests/kvm/unattended/win2008-r2-autounattend.xml line 169

Quoted 4 lines
client/tests/kvm/unattended/win2008-r2-autounattend.xml +0 -1
 					<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>

client/tests/kvm/unattended/win2008-r2-autounattend.xml line 169

Quoted 1 line
client/tests/kvm/unattended/win2008-r2-autounattend.xml +1 -0
+					<CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set

address "Local Area Connection" dhcp</CommandLine>

client/tests/kvm/unattended/win2008-r2-autounattend.xml line 173

Quoted 4 lines
client/tests/kvm/unattended/win2008-r2-autounattend.xml +2 -0
 					<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>

Quoted 5 lines
client/tests/kvm/unattended/win2008-r2-autounattend.xml +2 -0
+					<Order>9</Order>
+				</SynchronousCommand>
 			</FirstLogonCommands>
 			<OOBE>
 				<HideEULAPage>true</HideEULAPage>