mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7433: removed hard coding for host credentials
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
This commit is contained in:
parent
b43d9345e9
commit
a8c75c197e
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue