Merge ~smoser/cloud-init:bug/1689944-improve-system-is-snappy into cloud-init:master
Proposed by
Scott Moser
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 4bcc947301bedc5ebf430cfaf6e4597bfb174aa7 | ||||
Proposed branch: | ~smoser/cloud-init:bug/1689944-improve-system-is-snappy | ||||
Merge into: | cloud-init:master | ||||
Diff against target: |
232 lines (+110/-34) 4 files modified
cloudinit/net/cmdline.py (+1/-30) cloudinit/util.py (+37/-0) tests/unittests/helpers.py (+3/-4) tests/unittests/test_util.py (+69/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ryan Harper | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+324126@code.launchpad.net |
Commit message
Improve detection of snappy to include os-release and kernel cmdline.
Recent core snap images (edge channel revision 1886) do not contain the
previously known files used to detect that a system is ubuntu core.
The changes here are to look in 2 additional locations to determine
if a system is snappy.
LP: #1689944
To post a comment you must log in.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
PASSED: Continuous integration, rev:5aa86dc0c9e 69256e136759ad5 237b99cd0f3a07 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 339/ /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- amd64/339 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- arm64/339 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- ppc64el/ 339 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=vm- i386/339
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 339/rebuild
https:/