Merge ~ltrager/maas:lp1888021 into maas:master
Proposed by
Lee Trager
Status: | Merged |
---|---|
Approved by: | Adam Collard |
Approved revision: | 5ee39f8396cbb7f1ac26e2818cbbb7c403a131de |
Merge reported by: | MAAS Lander |
Merged at revision: | not available |
Proposed branch: | ~ltrager/maas:lp1888021 |
Merge into: | maas:master |
Diff against target: |
303 lines (+129/-18) 3 files modified
src/machine-resources/src/machine-resources/Gopkg.lock (+3/-3) src/metadataserver/user_data/templates/snippets/maas_run_remote_scripts.py (+55/-5) src/metadataserver/user_data/templates/snippets/tests/test_maas_run_remote_scripts.py (+71/-10) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alberto Donato (community) | Approve | ||
MAAS Lander | Approve | ||
Review via email: mp+388725@code.launchpad.net |
Commit message
LP: #1888021 - Read storage MODEL and MODEL_ENC from udev
Storage devices may have two model names. One is encoded to allow spaces
and other special characters, the other is not. lsblk in Xenial and Bionic
give the encoded model name while in Focal it gives the non-encode model
name. LXD gives the encoded model name in LXD 4.3+. Read and store both
from udev to ensure matching works.
To post a comment you must log in.
UNIT TESTS
-b lp1888021 lp:~ltrager/maas/+git/maas into -b master lp:~maas-committers/maas
STATUS: SUCCESS 1ac26e2818cbbb7 c403a131de
COMMIT: 5ee39f8396cbb7f