Merge ~goneri/cloud-init:freebsd_nocloud into cloud-init:master
Proposed by
Gonéri Le Bouder
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Chad Smith | ||||
Approved revision: | df7f3963cc86811a7d166243e913fc1c4833ad8f | ||||
Merge reported by: | Server Team CI bot | ||||
Merged at revision: | not available | ||||
Proposed branch: | ~goneri/cloud-init:freebsd_nocloud | ||||
Merge into: | cloud-init:master | ||||
Diff against target: |
108 lines (+43/-19) 3 files modified
cloudinit/sources/DataSourceNoCloud.py (+23/-17) config/cloud.cfg.tmpl (+2/-2) tests/unittests/test_datasource/test_nocloud.py (+18/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chad Smith | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+365630@code.launchpad.net |
Commit message
freebsd: NoCloud data source support
blkid is a Linux-only command. With this patch, cloud-init uses another
approach to find the data source on FreeBSD.
LP: #1645824
To post a comment you must log in.
it might be useful to have some test cases that cover the linux way using blkid and having a case that covers the FreeBSD way so future addition/changes to the data source don't break things up again without noticing.
apart from that - looking at the code diff without really testing it - the change looks reasonable to me.