CLOUDSTACK-7433: removed hard coding for host credentials

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
This commit is contained in:
SrikanteswaraRao Talluri 2014-09-04 17:44:50 +05:30
parent b43d9345e9
commit a8c75c197e

View File

@ -175,8 +175,6 @@ class TestDeployVmWithUserData(cloudstackTestCase):
'Running',
"Check list router response for router state"
)
host.user="root"
host.passwd="password"
cmd="cat /var/www/html/userdata/"+deployVmResponse.ipaddress+"/user-data"
if self.hypervisor.lower() in ('vmware', 'hyperv'):
@ -200,6 +198,7 @@ class TestDeployVmWithUserData(cloudstackTestCase):
else:
try:
host.user, host.passwd = get_host_credentials(self.config, host.ipaddress)
result = get_process_status(
host.ipaddress,
22,