Merge ~rodsmith/maas-cert-server:fix-iperf-setup into maas-cert-server:master
Status: | Merged |
---|---|
Approved by: | Rod Smith |
Approved revision: | 8a313f23b964f6d10b2e9d86567b005cdc0da904 |
Merged at revision: | ad7257bef41bdfcd9b0121c93196520ad50c24b5 |
Proposed branch: | ~rodsmith/maas-cert-server:fix-iperf-setup |
Merge into: | maas-cert-server:master |
Diff against target: |
74 lines (+26/-14) 2 files modified
debian/changelog (+9/-0) preseed/curtin_userdata_cert (+17/-14) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Adrian Lane (community) | Approve | ||
Review via email: mp+401738@code.launchpad.net |
Commit message
Fix iperf3 target setting and MAAS version detection in preseed
Description of the change
The iperf3 target setting was not working when MAAS was installed via snaps. This MR fixes the problem, albeit by requiring the iperf.conf file to be copied somewhere that the snap can read. This will need to be documented in MANIACS.
To support snaps, and earlier merge changed the preseed's method of detecting the MAAS version. This change has proven to be unreliable. This MR reverts to a (slightly altered) earlier method. This method works when MAAS is installed via Debian packages, but not via snaps; but as we're deprecating installation of MAAS via snaps for certification, this seems like an acceptable compromise.
LGMT-