summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_set_passwords.py
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-09-28 14:06:22 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-09-28 14:06:22 -0700
commit7ab25c779433a614a6e4101ddfe852fc25f39c01 (patch)
tree6c78d9b9a6849f17535ee2f2a2bae1b62d1adadf /cloudinit/config/cc_set_passwords.py
parentcf3dd1ba86d4ddde149f451e026c697c07b4d732 (diff)
downloadvyos-cloud-init-7ab25c779433a614a6e4101ddfe852fc25f39c01.tar.gz
vyos-cloud-init-7ab25c779433a614a6e4101ddfe852fc25f39c01.zip
Add a comment as to why distros can't be
imported without being renamed due to previous usage of the attribute 'distros'
Diffstat (limited to 'cloudinit/config/cc_set_passwords.py')
-rw-r--r--cloudinit/config/cc_set_passwords.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/cloudinit/config/cc_set_passwords.py b/cloudinit/config/cc_set_passwords.py
index bb95f948..26c558ad 100644
--- a/cloudinit/config/cc_set_passwords.py
+++ b/cloudinit/config/cc_set_passwords.py
@@ -20,7 +20,11 @@
import sys
+# Ensure this is aliased to a name not 'distros'
+# since the module attribute 'distros'
+# is a list of distros that are supported, not a sub-module
from cloudinit import distros as ds
+
from cloudinit import ssh_util
from cloudinit import util