Author: tomaz
Date: Thu May 10 04:07:10 2012
New Revision: 1336476
URL: http://svn.apache.org/viewvc?rev=1336476&view=rev
Log:
Include 'password' in the node extra dictionary when calling deploy_node if the
password auth is used.
Modified:
libcloud/trunk/libcloud/compute/base.py
Modified: libcloud/trunk/libcloud/compute/base.py
URL:
http://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py?rev=1336476&r1=1336475&r2=1336476&view=diff
==============================================================================
--- libcloud/trunk/libcloud/compute/base.py (original)
+++ libcloud/trunk/libcloud/compute/base.py Thu May 10 04:07:10 2012
@@ -605,6 +605,10 @@ class NodeDriver(BaseDriver):
except Exception:
e = sys.exc_info()[1]
raise DeploymentError(node, e)
+
+ if password:
+ node.extra['password'] = password
+
return node
def _wait_until_running(self, node, wait_period=3, timeout=600):