mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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',
|
'Running',
|
||||||
"Check list router response for router state"
|
"Check list router response for router state"
|
||||||
)
|
)
|
||||||
host.user="root"
|
|
||||||
host.passwd="password"
|
|
||||||
cmd="cat /var/www/html/userdata/"+deployVmResponse.ipaddress+"/user-data"
|
cmd="cat /var/www/html/userdata/"+deployVmResponse.ipaddress+"/user-data"
|
||||||
|
|
||||||
if self.hypervisor.lower() in ('vmware', 'hyperv'):
|
if self.hypervisor.lower() in ('vmware', 'hyperv'):
|
||||||
@ -200,6 +198,7 @@ class TestDeployVmWithUserData(cloudstackTestCase):
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
|
host.user, host.passwd = get_host_credentials(self.config, host.ipaddress)
|
||||||
result = get_process_status(
|
result = get_process_status(
|
||||||
host.ipaddress,
|
host.ipaddress,
|
||||||
22,
|
22,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user