Merge ~sameid/cloud-init:azure-user-locked-on-instance-id-change into cloud-init:master
Proposed by
Sam Eiderman
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Ryan Harper | ||||
Approved revision: | 4e418c0f53a5d23ea1b8329aa529c80e10340e17 | ||||
Merge reported by: | Server Team CI bot | ||||
Merged at revision: | not available | ||||
Proposed branch: | ~sameid/cloud-init:azure-user-locked-on-instance-id-change | ||||
Merge into: | cloud-init:master | ||||
Diff against target: |
44 lines (+19/-2) 2 files modified
cloudinit/sources/DataSourceAzure.py (+3/-2) tests/unittests/test_datasource/test_azure.py (+16/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ryan Harper | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Sam Eiderman (community) | Needs Resubmitting | ||
Review via email: mp+374740@code.launchpad.net |
Commit message
azure: Do not lock user on instance id change
After initial boot ovf-env.xml is copied to agent dir
(/var/lib/waagent/) with REDACTED password.
On subsequent boots DataSourceAzure loads with a configuration where the
user specified in /var/lib/
If instance id changes, cc_users_groups action will lock the user.
Fix this behavior by not locking the user if its password is REDACTED.
LP: #1849677
To post a comment you must log in.
Hi,
Thank you for contributing to cloud-init.
To contribute, you must sign the Canonical Contributor License Agreement (CLA) [1].
If you have already signed it as an individual, your Launchpad user will be listed in the contributor- agreement- canonical launchpad group [2]. Unfortunately there is no easy way to check if an organization or company you are doing work for has signed. If you are unsure or have questions, email <email address hidden> or ping powersj in #cloud-init channel via freenode.
For information on how to sign, please see the HACKING document [3].
Thanks again, and please feel free to reach out with any questions.
– www.canonical. com/contributor s /launchpad. net/~contributo r-agreement- canonical/ +members cloudinit. readthedocs. io/en/latest/ topics/ hacking. html
[1] http://
[2] https:/
[3] http://