* [PATCH] KVM Test: Set bootstatuspolicy to ignoreallfailures for Win2008 and r2 in autounattend.xml
@ 2010-10-20 5:53 Feng Yang
2010-10-20 8:49 ` Michael Goldish
0 siblings, 1 reply; 4+ messages in thread
From: Feng Yang @ 2010-10-20 5:53 UTC (permalink / raw)
To: autotest; +Cc: kvm, 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.
Signed-off-by: Feng Yang <fyang@redhat.com>
---
.../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(-)
diff --git a/client/tests/kvm/unattended/win2008-32-autounattend.xml b/client/tests/kvm/unattended/win2008-32-autounattend.xml
index 89af07f..7e8e160 100644
--- a/client/tests/kvm/unattended/win2008-32-autounattend.xml
+++ b/client/tests/kvm/unattended/win2008-32-autounattend.xml
@@ -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 && A:\finish.exe</CommandLine>
- <Order>8</Order>
+ <Order>9</Order>
</SynchronousCommand>
</FirstLogonCommands>
<OOBE>
diff --git a/client/tests/kvm/unattended/win2008-64-autounattend.xml b/client/tests/kvm/unattended/win2008-64-autounattend.xml
index 98f5589..fce6582 100644
--- a/client/tests/kvm/unattended/win2008-64-autounattend.xml
+++ b/client/tests/kvm/unattended/win2008-64-autounattend.xml
@@ -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 && 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 && A:\finish.exe</CommandLine>
+ <Order>9</Order>
+ </SynchronousCommand>
</FirstLogonCommands>
<OOBE>
<HideEULAPage>true</HideEULAPage>
diff --git a/client/tests/kvm/unattended/win2008-r2-autounattend.xml b/client/tests/kvm/unattended/win2008-r2-autounattend.xml
index b624d10..948e9a1 100644
--- a/client/tests/kvm/unattended/win2008-r2-autounattend.xml
+++ b/client/tests/kvm/unattended/win2008-r2-autounattend.xml
@@ -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 && 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 && A:\finish.exe</CommandLine>
+ <Order>9</Order>
+ </SynchronousCommand>
</FirstLogonCommands>
<OOBE>
<HideEULAPage>true</HideEULAPage>
--
1.6.5.2
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] KVM Test: Set bootstatuspolicy to ignoreallfailures for Win2008 and r2 in autounattend.xml
2010-10-20 5:53 [PATCH] KVM Test: Set bootstatuspolicy to ignoreallfailures for Win2008 and r2 in autounattend.xml Feng Yang
@ 2010-10-20 8:49 ` Michael Goldish
2010-10-20 9:47 ` Feng Yang
0 siblings, 1 reply; 4+ messages in thread
From: Michael Goldish @ 2010-10-20 8:49 UTC (permalink / raw)
To: Feng Yang; +Cc: autotest, kvm
On 10/20/2010 07:53 AM, Feng Yang wrote:
> 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.
>
> Signed-off-by: Feng Yang <fyang@redhat.com>
Shouldn't it be easier to add the line to setuprss.bat? Or do you
specifically want to target win2008?
> .../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(-)
>
> diff --git a/client/tests/kvm/unattended/win2008-32-autounattend.xml b/client/tests/kvm/unattended/win2008-32-autounattend.xml
> index 89af07f..7e8e160 100644
> --- a/client/tests/kvm/unattended/win2008-32-autounattend.xml
> +++ b/client/tests/kvm/unattended/win2008-32-autounattend.xml
> @@ -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 && A:\finish.exe</CommandLine>
> - <Order>8</Order>
> + <Order>9</Order>
> </SynchronousCommand>
> </FirstLogonCommands>
> <OOBE>
> diff --git a/client/tests/kvm/unattended/win2008-64-autounattend.xml b/client/tests/kvm/unattended/win2008-64-autounattend.xml
> index 98f5589..fce6582 100644
> --- a/client/tests/kvm/unattended/win2008-64-autounattend.xml
> +++ b/client/tests/kvm/unattended/win2008-64-autounattend.xml
> @@ -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 && 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 && A:\finish.exe</CommandLine>
> + <Order>9</Order>
> + </SynchronousCommand>
> </FirstLogonCommands>
> <OOBE>
> <HideEULAPage>true</HideEULAPage>
> diff --git a/client/tests/kvm/unattended/win2008-r2-autounattend.xml b/client/tests/kvm/unattended/win2008-r2-autounattend.xml
> index b624d10..948e9a1 100644
> --- a/client/tests/kvm/unattended/win2008-r2-autounattend.xml
> +++ b/client/tests/kvm/unattended/win2008-r2-autounattend.xml
> @@ -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 && 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 && A:\finish.exe</CommandLine>
> + <Order>9</Order>
> + </SynchronousCommand>
> </FirstLogonCommands>
> <OOBE>
> <HideEULAPage>true</HideEULAPage>
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] KVM Test: Set bootstatuspolicy to ignoreallfailures for Win2008 and r2 in autounattend.xml
2010-10-20 8:49 ` Michael Goldish
@ 2010-10-20 9:47 ` Feng Yang
2010-10-20 10:29 ` Michael Goldish
0 siblings, 1 reply; 4+ messages in thread
From: Feng Yang @ 2010-10-20 9:47 UTC (permalink / raw)
To: Michael Goldish; +Cc: autotest, kvm
----- "Michael Goldish" <mgoldish@redhat.com> wrote:
> From: "Michael Goldish" <mgoldish@redhat.com>
> To: "Feng Yang" <fyang@redhat.com>
> Cc: autotest@test.kernel.org, kvm@vger.kernel.org
> 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
>
> On 10/20/2010 07:53 AM, Feng Yang wrote:
> > 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.
> >
> > Signed-off-by: Feng Yang <fyang@redhat.com>
>
> 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.
>
> > .../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(-)
> >
> > diff --git a/client/tests/kvm/unattended/win2008-32-autounattend.xml
> b/client/tests/kvm/unattended/win2008-32-autounattend.xml
> > index 89af07f..7e8e160 100644
> > --- a/client/tests/kvm/unattended/win2008-32-autounattend.xml
> > +++ b/client/tests/kvm/unattended/win2008-32-autounattend.xml
> > @@ -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
> && A:\finish.exe</CommandLine>
> > - <Order>8</Order>
> > + <Order>9</Order>
> > </SynchronousCommand>
> > </FirstLogonCommands>
> > <OOBE>
> > diff --git a/client/tests/kvm/unattended/win2008-64-autounattend.xml
> b/client/tests/kvm/unattended/win2008-64-autounattend.xml
> > index 98f5589..fce6582 100644
> > --- a/client/tests/kvm/unattended/win2008-64-autounattend.xml
> > +++ b/client/tests/kvm/unattended/win2008-64-autounattend.xml
> > @@ -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
> && 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
> && A:\finish.exe</CommandLine>
> > + <Order>9</Order>
> > + </SynchronousCommand>
> > </FirstLogonCommands>
> > <OOBE>
> > <HideEULAPage>true</HideEULAPage>
> > diff --git a/client/tests/kvm/unattended/win2008-r2-autounattend.xml
> b/client/tests/kvm/unattended/win2008-r2-autounattend.xml
> > index b624d10..948e9a1 100644
> > --- a/client/tests/kvm/unattended/win2008-r2-autounattend.xml
> > +++ b/client/tests/kvm/unattended/win2008-r2-autounattend.xml
> > @@ -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
> && 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
> && A:\finish.exe</CommandLine>
> > + <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 majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] KVM Test: Set bootstatuspolicy to ignoreallfailures for Win2008 and r2 in autounattend.xml
2010-10-20 9:47 ` Feng Yang
@ 2010-10-20 10:29 ` Michael Goldish
0 siblings, 0 replies; 4+ messages in thread
From: Michael Goldish @ 2010-10-20 10:29 UTC (permalink / raw)
To: Feng Yang; +Cc: autotest, kvm
On 10/20/2010 11:47 AM, Feng Yang wrote:
>
> ----- "Michael Goldish" <mgoldish@redhat.com> wrote:
>
>> From: "Michael Goldish" <mgoldish@redhat.com>
>> To: "Feng Yang" <fyang@redhat.com>
>> Cc: autotest@test.kernel.org, kvm@vger.kernel.org
>> 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
>>
>> On 10/20/2010 07:53 AM, Feng Yang wrote:
>>> 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.
>>>
>>> Signed-off-by: Feng Yang <fyang@redhat.com>
>>
>> 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.
>>> .../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(-)
>>>
>>> diff --git a/client/tests/kvm/unattended/win2008-32-autounattend.xml
>> b/client/tests/kvm/unattended/win2008-32-autounattend.xml
>>> index 89af07f..7e8e160 100644
>>> --- a/client/tests/kvm/unattended/win2008-32-autounattend.xml
>>> +++ b/client/tests/kvm/unattended/win2008-32-autounattend.xml
>>> @@ -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
>> && A:\finish.exe</CommandLine>
>>> - <Order>8</Order>
>>> + <Order>9</Order>
>>> </SynchronousCommand>
>>> </FirstLogonCommands>
>>> <OOBE>
>>> diff --git a/client/tests/kvm/unattended/win2008-64-autounattend.xml
>> b/client/tests/kvm/unattended/win2008-64-autounattend.xml
>>> index 98f5589..fce6582 100644
>>> --- a/client/tests/kvm/unattended/win2008-64-autounattend.xml
>>> +++ b/client/tests/kvm/unattended/win2008-64-autounattend.xml
>>> @@ -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
>> && 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
>> && A:\finish.exe</CommandLine>
>>> + <Order>9</Order>
>>> + </SynchronousCommand>
>>> </FirstLogonCommands>
>>> <OOBE>
>>> <HideEULAPage>true</HideEULAPage>
>>> diff --git a/client/tests/kvm/unattended/win2008-r2-autounattend.xml
>> b/client/tests/kvm/unattended/win2008-r2-autounattend.xml
>>> index b624d10..948e9a1 100644
>>> --- a/client/tests/kvm/unattended/win2008-r2-autounattend.xml
>>> +++ b/client/tests/kvm/unattended/win2008-r2-autounattend.xml
>>> @@ -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
>> && 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
>> && A:\finish.exe</CommandLine>
>>> + <Order>9</Order>
>>> + </SynchronousCommand>
>>> </FirstLogonCommands>
>>> <OOBE>
>>> <HideEULAPage>true</HideEULAPage>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-10-20 10:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-20 5:53 [PATCH] KVM Test: Set bootstatuspolicy to ignoreallfailures for Win2008 and r2 in autounattend.xml Feng Yang
2010-10-20 8:49 ` Michael Goldish
2010-10-20 9:47 ` Feng Yang
2010-10-20 10:29 ` Michael Goldish
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox