You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ta...@apache.org on 2014/09/04 14:15:31 UTC

git commit: updated refs/heads/master to a8c75c1

Repository: cloudstack
Updated Branches:
  refs/heads/master b43d9345e -> a8c75c197


CLOUDSTACK-7433: removed hard coding for host credentials
Signed-off-by: SrikanteswaraRao Talluri <ta...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/a8c75c19
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a8c75c19
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a8c75c19

Branch: refs/heads/master
Commit: a8c75c197ea61728ca478657f4b9f43a51e2a60c
Parents: b43d934
Author: SrikanteswaraRao Talluri <ta...@apache.org>
Authored: Thu Sep 4 17:44:50 2014 +0530
Committer: SrikanteswaraRao Talluri <ta...@apache.org>
Committed: Thu Sep 4 17:44:50 2014 +0530

----------------------------------------------------------------------
 test/integration/component/test_deploy_vm_userdata_reg.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a8c75c19/test/integration/component/test_deploy_vm_userdata_reg.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_deploy_vm_userdata_reg.py b/test/integration/component/test_deploy_vm_userdata_reg.py
index 10278c6..ee1f81a 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,