[Bug 1440263] Re: CloudStack reset password not working

Thomas Moroder (server24) cloudstack at server24.eu
Fri Jun 12 14:21:30 UTC 2015


Dan,

I have tested this script against Ubuntu 14.04 in our cloud and now it
works flawlessly, but in addition to the patch provided the file:

/usr/lib/python2.7/dist-packages/cloudinit/config/cc_set_passwords.py

adding the following:

...
from cloudinit import util

from string import letters, digits  # pylint: disable=W0402

+# new passwords need to be set at every boot if available
+from cloudinit.settings import PER_ALWAYS
+frequency = PER_ALWAYS

# We are removing certain 'painful' letters/numbers
PW_SET = (letters.translate(None, 'loLOI') +
          digits.translate(None, '01'))
...

Maybe you can add this also to your patch so that the implementation is
complete.

If both are applied, the cloud-init scripts work correctly with ACS
4.5.1 at least in our reference cloud, thank you!

Sincerely,
Thomas Moroder
server24

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1440263

Title:
  CloudStack reset password not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1440263/+subscriptions



More information about the Ubuntu-server-bugs mailing list