Set Passwords documentation describes incorrect behaviour for `password` config key
Bug #1838794 reported by
Dan Watkins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Low
|
Dan Watkins |
Bug Description
In https:/
If expire is specified and is set to false, then the password
global config key is used as the password for all user
accounts.
This, thankfully, is _not_ the actual behaviour; we set the given password only on the default user.
(I'm going to fix this soon, just filing a bug because it came up mid-code-review and I don't want to lose track of it.)
Related branches
~oddbloke/cloud-init/+git/cloud-init:ubuntu/devel
- Ryan Harper: Approve
-
Diff: 1177 lines (+863/-34)18 files modifiedcloudinit/apport.py (+1/-0)
cloudinit/config/cc_set_passwords.py (+34/-19)
cloudinit/config/cc_ssh.py (+55/-0)
cloudinit/config/tests/test_ssh.py (+166/-0)
cloudinit/settings.py (+1/-0)
cloudinit/sources/DataSourceExoscale.py (+258/-0)
cloudinit/sources/DataSourceGCE.py (+20/-2)
cloudinit/sources/__init__.py (+10/-0)
cloudinit/url_helper.py (+5/-4)
debian/changelog (+12/-0)
debian/cloud-init.templates (+3/-3)
doc/rtd/conf.py (+0/-5)
doc/rtd/topics/datasources.rst (+1/-0)
doc/rtd/topics/datasources/exoscale.rst (+68/-0)
tests/unittests/test_datasource/test_common.py (+2/-0)
tests/unittests/test_datasource/test_exoscale.py (+203/-0)
tests/unittests/test_datasource/test_gce.py (+18/-0)
tools/ds-identify (+6/-1)
~oddbloke/cloud-init/+git/cloud-init:doc
Merged
into
cloud-init:master
- Server Team CI bot: Approve (continuous-integration)
- Ryan Harper: Approve
-
Diff: 73 lines (+34/-19)1 file modifiedcloudinit/config/cc_set_passwords.py (+34/-19)
This bug is fixed with commit 88092eea to cloud-init on branch master. /git.launchpad. net/cloud- init/commit/ ?id=88092eea
To view that commit see the following URL:
https:/