Signed-off-by: Amos Kong <[email protected]>
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/unattended/RHEL-3-series.ks
b/client/tests/kvm/unattended/RHEL-3-series.ks
index 79d9605..b14bc22 100644
--- a/client/tests/kvm/unattended/RHEL-3-series.ks
+++ b/client/tests/kvm/unattended/RHEL-3-series.ks
@@ -24,8 +24,7 @@ skipx
%post --interpreter /usr/bin/python
import socket, os
-os.system('/sbin/ifconfig eth0 10.0.2.15 netmask 255.255.255.0 up')
-os.system('/sbin/route add default gw 10.0.2.2')
+os.system('dhclient')
os.system('chkconfig sshd on')
server = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
server.bind(('', 12323))
diff --git a/client/tests/kvm/unattended/win2000-32.sif
b/client/tests/kvm/unattended/win2000-32.sif
index 7562846..bb190b1 100644
--- a/client/tests/kvm/unattended/win2000-32.sif
+++ b/client/tests/kvm/unattended/win2000-32.sif
@@ -70,4 +70,4 @@
[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"
+ Command2="cmd /c ping 192.168.58.1 -n 20 && A:\finish.exe"
diff --git a/client/tests/kvm/unattended/win2003-32.sif
b/client/tests/kvm/unattended/win2003-32.sif
index fab2cf5..e89c590 100644
--- a/client/tests/kvm/unattended/win2003-32.sif
+++ b/client/tests/kvm/unattended/win2003-32.sif
@@ -63,4 +63,4 @@
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"
+ Command6="cmd /c ping 192.168.58.1 -n 20 && A:\finish.exe"
diff --git a/client/tests/kvm/unattended/win2003-64.sif
b/client/tests/kvm/unattended/win2003-64.sif
index fab2cf5..e89c590 100644
--- a/client/tests/kvm/unattended/win2003-64.sif
+++ b/client/tests/kvm/unattended/win2003-64.sif
@@ -63,4 +63,4 @@
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"
+ Command6="cmd /c ping 192.168.58.1 -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 d50701a..7766cde 100644
--- a/client/tests/kvm/unattended/win2008-32-autounattend.xml
+++ b/client/tests/kvm/unattended/win2008-32-autounattend.xml
@@ -143,7 +143,7 @@
<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
ping 192.168.58.1 -n 20 && A:\finish.exe</CommandLine>
<Order>8</Order>
</SynchronousCommand>
</FirstLogonCommands>
diff --git a/client/tests/kvm/unattended/win2008-32-virtio-autounattend.xml
b/client/tests/kvm/unattended/win2008-32-virtio-autounattend.xml
index a8fc9c5..c7e5c4b 100644
--- a/client/tests/kvm/unattended/win2008-32-virtio-autounattend.xml
+++ b/client/tests/kvm/unattended/win2008-32-virtio-autounattend.xml
@@ -157,7 +157,7 @@
<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
ping 192.168.58.1 -n 20 && A:\finish.exe</CommandLine>
<Order>8</Order>
</SynchronousCommand>
</FirstLogonCommands>
diff --git a/client/tests/kvm/unattended/win2008-64-autounattend.xml
b/client/tests/kvm/unattended/win2008-64-autounattend.xml
index 364f5bf..1739e23 100644
--- a/client/tests/kvm/unattended/win2008-64-autounattend.xml
+++ b/client/tests/kvm/unattended/win2008-64-autounattend.xml
@@ -152,7 +152,7 @@
<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
ping 192.168.58.1 -n 20 && A:\finish.exe</CommandLine>
<Order>8</Order>
</SynchronousCommand>
</FirstLogonCommands>
diff --git a/client/tests/kvm/unattended/win2008-64-virtio-autounattend.xml
b/client/tests/kvm/unattended/win2008-64-virtio-autounattend.xml
index 98f5589..811e4b7 100644
--- a/client/tests/kvm/unattended/win2008-64-virtio-autounattend.xml
+++ b/client/tests/kvm/unattended/win2008-64-virtio-autounattend.xml
@@ -166,7 +166,7 @@
<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
ping 192.168.58.1 -n 20 && A:\finish.exe</CommandLine>
<Order>8</Order>
</SynchronousCommand>
</FirstLogonCommands>
diff --git a/client/tests/kvm/unattended/win2008-r2-autounattend.xml
b/client/tests/kvm/unattended/win2008-r2-autounattend.xml
index 364f5bf..1739e23 100644
--- a/client/tests/kvm/unattended/win2008-r2-autounattend.xml
+++ b/client/tests/kvm/unattended/win2008-r2-autounattend.xml
@@ -152,7 +152,7 @@
<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
ping 192.168.58.1 -n 20 && A:\finish.exe</CommandLine>
<Order>8</Order>
</SynchronousCommand>
</FirstLogonCommands>
diff --git a/client/tests/kvm/unattended/win2008-r2-virtio-autounattend.xml
b/client/tests/kvm/unattended/win2008-r2-virtio-autounattend.xml
index 98f5589..811e4b7 100644
--- a/client/tests/kvm/unattended/win2008-r2-virtio-autounattend.xml
+++ b/client/tests/kvm/unattended/win2008-r2-virtio-autounattend.xml
@@ -166,7 +166,7 @@
<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
ping 192.168.58.1 -n 20 && A:\finish.exe</CommandLine>
<Order>8</Order>
</SynchronousCommand>
</FirstLogonCommands>
diff --git a/client/tests/kvm/unattended/win7-32-autounattend.xml
b/client/tests/kvm/unattended/win7-32-autounattend.xml
index 7a853e9..c0dca37 100644
--- a/client/tests/kvm/unattended/win7-32-autounattend.xml
+++ b/client/tests/kvm/unattended/win7-32-autounattend.xml
@@ -168,7 +168,7 @@
<Order>8</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
ping 192.168.58.1 -n 20 && A:\finish.exe</CommandLine>
<Order>9</Order>
</SynchronousCommand>
</FirstLogonCommands>
diff --git a/client/tests/kvm/unattended/win7-64-autounattend.xml
b/client/tests/kvm/unattended/win7-64-autounattend.xml
index e2a42b8..8831690 100644
--- a/client/tests/kvm/unattended/win7-64-autounattend.xml
+++ b/client/tests/kvm/unattended/win7-64-autounattend.xml
@@ -168,7 +168,7 @@
<Order>8</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
ping 192.168.58.1 -n 20 && A:\finish.exe</CommandLine>
<Order>9</Order>
</SynchronousCommand>
</FirstLogonCommands>
diff --git a/client/tests/kvm/unattended/winvista-32-autounattend.xml
b/client/tests/kvm/unattended/winvista-32-autounattend.xml
index d4e8c5c..03dd626 100644
--- a/client/tests/kvm/unattended/winvista-32-autounattend.xml
+++ b/client/tests/kvm/unattended/winvista-32-autounattend.xml
@@ -164,7 +164,7 @@
<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
ping 192.168.58.1 -n 20 && A:\finish.exe</CommandLine>
<Order>8</Order>
</SynchronousCommand>
</FirstLogonCommands>
diff --git a/client/tests/kvm/unattended/winvista-64-autounattend.xml
b/client/tests/kvm/unattended/winvista-64-autounattend.xml
index 16d4850..9321d0c 100644
--- a/client/tests/kvm/unattended/winvista-64-autounattend.xml
+++ b/client/tests/kvm/unattended/winvista-64-autounattend.xml
@@ -165,7 +165,7 @@
<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
ping 192.168.58.1 -n 20 && A:\finish.exe</CommandLine>
<Order>8</Order>
</SynchronousCommand>
</FirstLogonCommands>
diff --git a/client/tests/kvm/unattended/winxp32.sif
b/client/tests/kvm/unattended/winxp32.sif
index b9a2ab6..ebe8326 100644
--- a/client/tests/kvm/unattended/winxp32.sif
+++ b/client/tests/kvm/unattended/winxp32.sif
@@ -72,4 +72,4 @@
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"
+ Command3="cmd /c ping 192.168.58.1 -n 20 && A:\finish.exe"
diff --git a/client/tests/kvm/unattended/winxp64.sif
b/client/tests/kvm/unattended/winxp64.sif
index b9a2ab6..ebe8326 100644
--- a/client/tests/kvm/unattended/winxp64.sif
+++ b/client/tests/kvm/unattended/winxp64.sif
@@ -72,4 +72,4 @@
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"
+ Command3="cmd /c ping 192.168.58.1 -n 20 && A:\finish.exe"
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest