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
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 translate( None, 'loLOI') +
digits. translate( None, '01'))
PW_SET = (letters.
...
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