KVM test: Windows unattended_install: don't start the telnet service at startup
PATCH 1/1 KVM test: Windows unattended_install: don't start the telnet service at startup
The telnet service isn't used by kvm-autotest (AFAIK) and may interfere with rss.exe (port 23).
--- client/tests/kvm/unattended/win2003-32.sif | 10 +++----- client/tests/kvm/unattended/win2003-64.sif | 10 +++----- .../kvm/unattended/win2008-32-autounattend.xml | 18 ++------------- .../kvm/unattended/win2008-64-autounattend.xml | 18 ++------------- .../kvm/unattended/win2008-r2-autounattend.xml | 18 ++------------- .../tests/kvm/unattended/win7-32-autounattend.xml | 22 ++++--------------- .../tests/kvm/unattended/win7-64-autounattend.xml | 22 ++++--------------- .../kvm/unattended/winvista-32-autounattend.xml | 18 ++------------- .../kvm/unattended/winvista-64-autounattend.xml | 18 ++------------- 9 files changed, 33 insertions(+), 121 deletions(-)
client/tests/kvm/unattended/win2003-32.sif +4 -6
@@ -56,9 +56,7 @@ 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 netsh firewall set opmode disable" + 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"
client/tests/kvm/unattended/win2003-64.sif +4 -6
@@ -56,9 +56,7 @@ 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 netsh firewall set opmode disable" + 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"
client/tests/kvm/unattended/win2008-32-autounattend.xml +3 -15
@@ -116,30 +116,18 @@ <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> - <CommandLine>%WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer"</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>2</Order> - <CommandLine>%WINDIR%\System32\cmd /c sc config TlntSvr start= auto</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>3</Order> <CommandLine>%WINDIR%\System32\cmd /c netsh firewall set opmode disable</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>4</Order> - <CommandLine>%WINDIR%\System32\cmd /c net start telnet</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>5</Order> + <Order>2</Order> <CommandLine>%WINDIR%\System32\cmd /c E:\setuprss.bat</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>6</Order> + <Order>3</Order> <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>7</Order> + <Order>4</Order> <CommandLine>%WINDIR%\System32\cmd /c ping 10.0.2.2 -n 20 && A:\finish.exe</CommandLine> </SynchronousCommand> </FirstLogonCommands>
client/tests/kvm/unattended/win2008-64-autounattend.xml +3 -15
@@ -125,30 +125,18 @@ <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> - <CommandLine>%WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer"</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>2</Order> - <CommandLine>%WINDIR%\System32\cmd /c sc config TlntSvr start= auto</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>3</Order> <CommandLine>%WINDIR%\System32\cmd /c netsh firewall set opmode disable</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>4</Order> - <CommandLine>%WINDIR%\System32\cmd /c net start telnet</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>5</Order> + <Order>2</Order> <CommandLine>%WINDIR%\System32\cmd /c E:\setuprss.bat</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>6</Order> + <Order>3</Order> <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>7</Order> + <Order>4</Order> <CommandLine>%WINDIR%\System32\cmd /c ping 10.0.2.2 -n 20 && A:\finish.exe</CommandLine> </SynchronousCommand> </FirstLogonCommands>
client/tests/kvm/unattended/win2008-r2-autounattend.xml +3 -15
@@ -125,30 +125,18 @@ <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> - <CommandLine>%WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer"</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>2</Order> - <CommandLine>%WINDIR%\System32\cmd /c sc config TlntSvr start= auto</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>3</Order> <CommandLine>%WINDIR%\System32\cmd /c netsh firewall set opmode disable</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>4</Order> - <CommandLine>%WINDIR%\System32\cmd /c net start telnet</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>5</Order> + <Order>2</Order> <CommandLine>%WINDIR%\System32\cmd /c E:\setuprss.bat</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>6</Order> + <Order>3</Order> <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>7</Order> + <Order>4</Order> <CommandLine>%WINDIR%\System32\cmd /c ping 10.0.2.2 -n 20 && A:\finish.exe</CommandLine> </SynchronousCommand> </FirstLogonCommands>
client/tests/kvm/unattended/win7-32-autounattend.xml +5 -17
@@ -122,36 +122,24 @@ </AutoLogon> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> - <CommandLine>%WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer"</CommandLine> - <Order>1</Order> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <CommandLine>%WINDIR%\System32\cmd /c sc config TlntSvr start= auto</CommandLine> - <Order>2</Order> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> <CommandLine>%WINDIR%\System32\cmd /c netsh firewall set opmode disable</CommandLine> - <Order>3</Order> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <CommandLine>%WINDIR%\System32\cmd /c net start telnet</CommandLine> - <Order>4</Order> + <Order>1</Order> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <CommandLine>%WINDIR%\System32\cmd /c E:\setuprss.bat</CommandLine> - <Order>5</Order> + <Order>2</Order> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp</CommandLine> - <Order>6</Order> + <Order>3</Order> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <CommandLine>%WINDIR%\System32\cmd /c ping 10.0.2.2 -n 20 && A:\finish.exe</CommandLine> - <Order>7</Order> + <Order>4</Order> </SynchronousCommand> </FirstLogonCommands> </component> </settings> <cpi:offlineImage cpi:source="wim:c:/install.wim#Windows Longhorn SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> -</unattend> +</unattend>
client/tests/kvm/unattended/win7-64-autounattend.xml +5 -17
@@ -122,36 +122,24 @@ </AutoLogon> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> - <CommandLine>%WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer"</CommandLine> - <Order>1</Order> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <CommandLine>%WINDIR%\System32\cmd /c sc config TlntSvr start= auto</CommandLine> - <Order>2</Order> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> <CommandLine>%WINDIR%\System32\cmd /c netsh firewall set opmode disable</CommandLine> - <Order>3</Order> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <CommandLine>%WINDIR%\System32\cmd /c net start telnet</CommandLine> - <Order>4</Order> + <Order>1</Order> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <CommandLine>%WINDIR%\System32\cmd /c E:\setuprss.bat</CommandLine> - <Order>5</Order> + <Order>2</Order> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp</CommandLine> - <Order>6</Order> + <Order>3</Order> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <CommandLine>%WINDIR%\System32\cmd /c ping 10.0.2.2 -n 20 && A:\finish.exe</CommandLine> - <Order>7</Order> + <Order>4</Order> </SynchronousCommand> </FirstLogonCommands> </component> </settings> <cpi:offlineImage cpi:source="wim:c:/install.wim#Windows Longhorn SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> -</unattend> +</unattend>
client/tests/kvm/unattended/winvista-32-autounattend.xml +3 -15
@@ -123,30 +123,18 @@ <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> - <CommandLine>%WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer"</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>2</Order> - <CommandLine>%WINDIR%\System32\cmd /c sc config TlntSvr start= auto</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>3</Order> <CommandLine>%WINDIR%\System32\cmd /c netsh firewall set opmode disable</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>4</Order> - <CommandLine>%WINDIR%\System32\cmd /c net start telnet</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>5</Order> + <Order>2</Order> <CommandLine>%WINDIR%\System32\cmd /c E:\setuprss.bat</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>6</Order> + <Order>3</Order> <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>7</Order> + <Order>4</Order> <CommandLine>%WINDIR%\System32\cmd /c ping 10.0.2.2 -n 20 && A:\finish.exe</CommandLine> </SynchronousCommand> </FirstLogonCommands>
client/tests/kvm/unattended/winvista-64-autounattend.xml +3 -15
@@ -124,30 +124,18 @@ <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> - <CommandLine>%WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer"</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>2</Order> - <CommandLine>%WINDIR%\System32\cmd /c sc config TlntSvr start= auto</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>3</Order> <CommandLine>%WINDIR%\System32\cmd /c netsh firewall set opmode disable</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>4</Order> - <CommandLine>%WINDIR%\System32\cmd /c net start telnet</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>5</Order> + <Order>2</Order> <CommandLine>%WINDIR%\System32\cmd /c E:\setuprss.bat</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>6</Order> + <Order>3</Order> <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>7</Order> + <Order>4</Order> <CommandLine>%WINDIR%\System32\cmd /c ping 10.0.2.2 -n 20 && A:\finish.exe</CommandLine> </SynchronousCommand> </FirstLogonCommands>
Signature · 1 line
1.5.4.1
Quoted 3 lines · Michael Goldish
The telnet service isn't used by kvm-autotest (AFAIK) and may interfere with rss.exe (port 23).
Michael,
I think it is better to leave the port 23 (and also 22) alone, people may want to use both telnet (e.g. telnet is integrited into some testing tools and/or some other reasons) and rss.exe.
and rss.exe could use other port and we can configure the port NR through the config file of kvm-autotest to use it.
Regards,
Cao, Chen
2010/06/29
Quoted 340 lines
Signed-off-by Michael Goldish <[email protected]>--- client/tests/kvm/unattended/win2003-32.sif | 10 +++----- client/tests/kvm/unattended/win2003-64.sif | 10 +++----- .../kvm/unattended/win2008-32-autounattend.xml | 18 ++------------- .../kvm/unattended/win2008-64-autounattend.xml | 18 ++------------- .../kvm/unattended/win2008-r2-autounattend.xml | 18 ++------------- .../tests/kvm/unattended/win7-32-autounattend.xml | 22 ++++--------------- .../tests/kvm/unattended/win7-64-autounattend.xml | 22 ++++--------------- .../kvm/unattended/winvista-32-autounattend.xml | 18 ++------------- .../kvm/unattended/winvista-64-autounattend.xml | 18 ++------------- 9 files changed, 33 insertions(+), 121 deletions(-)client/tests/kvm/unattended/win2003-32.sif +4
-6@@ -56,9 +56,7 @@ 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 netsh firewall set opmode disable" + 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"client/tests/kvm/unattended/win2003-64.sif +4
-6@@ -56,9 +56,7 @@ 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 netsh firewall set opmode disable" + 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"client/tests/kvm/unattended/win2008-32-autounattend.xml +3
-15@@ -116,30 +116,18 @@ <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> - <CommandLine>%WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer"</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>2</Order> - <CommandLine>%WINDIR%\System32\cmd /c sc config TlntSvr start= auto</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>3</Order> <CommandLine>%WINDIR%\System32\cmd /c netsh firewall set opmode disable</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>4</Order> - <CommandLine>%WINDIR%\System32\cmd /c net start telnet</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>5</Order> + <Order>2</Order> <CommandLine>%WINDIR%\System32\cmd /c E:\setuprss.bat</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>6</Order> + <Order>3</Order> <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>7</Order> + <Order>4</Order> <CommandLine>%WINDIR%\System32\cmd /c ping 10.0.2.2 -n 20 && A:\finish.exe</CommandLine> </SynchronousCommand> </FirstLogonCommands>client/tests/kvm/unattended/win2008-64-autounattend.xml +3
-15@@ -125,30 +125,18 @@ <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> - <CommandLine>%WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer"</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>2</Order> - <CommandLine>%WINDIR%\System32\cmd /c sc config TlntSvr start= auto</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>3</Order> <CommandLine>%WINDIR%\System32\cmd /c netsh firewall set opmode disable</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>4</Order> - <CommandLine>%WINDIR%\System32\cmd /c net start telnet</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>5</Order> + <Order>2</Order> <CommandLine>%WINDIR%\System32\cmd /c E:\setuprss.bat</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>6</Order> + <Order>3</Order> <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>7</Order> + <Order>4</Order> <CommandLine>%WINDIR%\System32\cmd /c ping 10.0.2.2 -n 20 && A:\finish.exe</CommandLine> </SynchronousCommand> </FirstLogonCommands>client/tests/kvm/unattended/win2008-r2-autounattend.xml +3
-15@@ -125,30 +125,18 @@ <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> - <CommandLine>%WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer"</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>2</Order> - <CommandLine>%WINDIR%\System32\cmd /c sc config TlntSvr start= auto</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>3</Order> <CommandLine>%WINDIR%\System32\cmd /c netsh firewall set opmode disable</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>4</Order> - <CommandLine>%WINDIR%\System32\cmd /c net start telnet</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>5</Order> + <Order>2</Order> <CommandLine>%WINDIR%\System32\cmd /c E:\setuprss.bat</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>6</Order> + <Order>3</Order> <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>7</Order> + <Order>4</Order> <CommandLine>%WINDIR%\System32\cmd /c ping 10.0.2.2 -n 20 && A:\finish.exe</CommandLine> </SynchronousCommand> </FirstLogonCommands>client/tests/kvm/unattended/win7-32-autounattend.xml +5
-17@@ -122,36 +122,24 @@ </AutoLogon> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> - <CommandLine>%WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer"</CommandLine> - <Order>1</Order> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <CommandLine>%WINDIR%\System32\cmd /c sc config TlntSvr start= auto</CommandLine> - <Order>2</Order> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> <CommandLine>%WINDIR%\System32\cmd /c netsh firewall set opmode disable</CommandLine> - <Order>3</Order> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <CommandLine>%WINDIR%\System32\cmd /c net start telnet</CommandLine> - <Order>4</Order> + <Order>1</Order> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <CommandLine>%WINDIR%\System32\cmd /c E:\setuprss.bat</CommandLine> - <Order>5</Order> + <Order>2</Order> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp</CommandLine> - <Order>6</Order> + <Order>3</Order> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <CommandLine>%WINDIR%\System32\cmd /c ping 10.0.2.2 -n 20 && A:\finish.exe</CommandLine> - <Order>7</Order> + <Order>4</Order> </SynchronousCommand> </FirstLogonCommands> </component> </settings> <cpi:offlineImage cpi:source="wim:c:/install.wim#Windows Longhorn SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> -</unattend> +</unattend>client/tests/kvm/unattended/win7-64-autounattend.xml +5
-17@@ -122,36 +122,24 @@ </AutoLogon> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> - <CommandLine>%WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer"</CommandLine> - <Order>1</Order> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <CommandLine>%WINDIR%\System32\cmd /c sc config TlntSvr start= auto</CommandLine> - <Order>2</Order> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> <CommandLine>%WINDIR%\System32\cmd /c netsh firewall set opmode disable</CommandLine> - <Order>3</Order> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <CommandLine>%WINDIR%\System32\cmd /c net start telnet</CommandLine> - <Order>4</Order> + <Order>1</Order> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <CommandLine>%WINDIR%\System32\cmd /c E:\setuprss.bat</CommandLine> - <Order>5</Order> + <Order>2</Order> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp</CommandLine> - <Order>6</Order> + <Order>3</Order> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <CommandLine>%WINDIR%\System32\cmd /c ping 10.0.2.2 -n 20 && A:\finish.exe</CommandLine> - <Order>7</Order> + <Order>4</Order> </SynchronousCommand> </FirstLogonCommands> </component> </settings> <cpi:offlineImage cpi:source="wim:c:/install.wim#Windows Longhorn SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> -</unattend> +</unattend>client/tests/kvm/unattended/winvista-32-autounattend.xml +3
-15@@ -123,30 +123,18 @@ <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> - <CommandLine>%WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer"</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>2</Order> - <CommandLine>%WINDIR%\System32\cmd /c sc config TlntSvr start= auto</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>3</Order> <CommandLine>%WINDIR%\System32\cmd /c netsh firewall set opmode disable</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>4</Order> - <CommandLine>%WINDIR%\System32\cmd /c net start telnet</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>5</Order> + <Order>2</Order> <CommandLine>%WINDIR%\System32\cmd /c E:\setuprss.bat</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>6</Order> + <Order>3</Order> <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>7</Order> + <Order>4</Order> <CommandLine>%WINDIR%\System32\cmd /c ping 10.0.2.2 -n 20 && A:\finish.exe</CommandLine> </SynchronousCommand> </FirstLogonCommands>client/tests/kvm/unattended/winvista-64-autounattend.xml +3
-15@@ -124,30 +124,18 @@ <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> - <CommandLine>%WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer"</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>2</Order> - <CommandLine>%WINDIR%\System32\cmd /c sc config TlntSvr start= auto</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>3</Order> <CommandLine>%WINDIR%\System32\cmd /c netsh firewall set opmode disable</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>4</Order> - <CommandLine>%WINDIR%\System32\cmd /c net start telnet</CommandLine> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <Order>5</Order> + <Order>2</Order> <CommandLine>%WINDIR%\System32\cmd /c E:\setuprss.bat</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>6</Order> + <Order>3</Order> <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> - <Order>7</Order> + <Order>4</Order> <CommandLine>%WINDIR%\System32\cmd /c ping 10.0.2.2 -n 20 && A:\finish.exe</CommandLine> </SynchronousCommand> </FirstLogonCommands>Signature · 6 lines
1.5.4.1 -- 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
Signature · 6 lines
Regards, Cao, Chen GnuPG Key-ID:AC54E05E keyserver hkp://keys.gnupg.net
Quoted 14 lines · Chen Cao
Quoted 3 lines · Michael Goldish
The telnet service isn't used by kvm-autotest (AFAIK) and may interfere with rss.exe (port 23).
Michael,
I think it is better to leave the port 23 (and also 22) alone, people may want to use both telnet (e.g. telnet is integrited into some testing tools and/or some other reasons) and rss.exe.
and rss.exe could use other port and we can configure the port NR through the config file of kvm-autotest to use it.
Quoted 4 lines
Regards,
Cao, Chen
2010/06/29
OK, I'll try using ports 1022 and 1023 instead.