libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r927484 - /incubator/libcloud/trunk/libcloud/drivers/linode.py
Date Thu, 25 Mar 2010 16:28:26 GMT
Author: jed
Date: Thu Mar 25 16:28:26 2010
New Revision: 927484

URL: http://svn.apache.org/viewvc?rev=927484&view=rev
Log:
Linode: Maximum length of the root password is 16 characters

Signed-off-by: Jed Smith <jed@apache.org>

Modified:
    incubator/libcloud/trunk/libcloud/drivers/linode.py

Modified: incubator/libcloud/trunk/libcloud/drivers/linode.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/drivers/linode.py?rev=927484&r1=927483&r2=927484&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/drivers/linode.py (original)
+++ incubator/libcloud/trunk/libcloud/drivers/linode.py Thu Mar 25 16:28:26 2010
@@ -292,7 +292,7 @@ class LinodeNodeDriver(NodeDriver):
 
         # Step 2: linode.disk.createfromdistribution
         if not root:
-            root = os.urandom(16).encode('hex')
+            root = os.urandom(8).encode('hex')
         params = {
             "api_action":       "linode.disk.createfromdistribution",
             "LinodeID":         linode["id"],



Mime
View raw message