From a8c75c197ea61728ca478657f4b9f43a51e2a60c Mon Sep 17 00:00:00 2001 From: SrikanteswaraRao Talluri Date: Thu, 4 Sep 2014 17:44:50 +0530 Subject: [PATCH] CLOUDSTACK-7433: removed hard coding for host credentials Signed-off-by: SrikanteswaraRao Talluri --- test/integration/component/test_deploy_vm_userdata_reg.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/integration/component/test_deploy_vm_userdata_reg.py b/test/integration/component/test_deploy_vm_userdata_reg.py index 10278c6a426..ee1f81a5771 100755 --- a/test/integration/component/test_deploy_vm_userdata_reg.py +++ b/test/integration/component/test_deploy_vm_userdata_reg.py @@ -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,