Merge ~troyanov/maas:backport-f06ea63-3.4 into maas:3.4
Status: | Merged |
---|---|
Approved by: | Anton Troyanov |
Approved revision: | 90bad52d61ce06b4ff4a0e72466a5eb643c496cf |
Merge reported by: | MAAS Lander |
Merged at revision: | not available |
Proposed branch: | ~troyanov/maas:backport-f06ea63-3.4 |
Merge into: | maas:3.4 |
Diff against target: |
15 lines (+4/-0) 1 file modified
src/metadataserver/builtin_scripts/commissioning_scripts/bmc_config.py (+4/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Anton Troyanov | Approve | ||
Adam Collard (community) | Abstain | ||
MAAS Lander | Approve | ||
Review via email: mp+455174@code.launchpad.net |
Commit message
LP:2040188 - bmc-config: add missing script metadata for parameter maas_auto_
The bmc-config script is passed several parameters from MAAS config options
(e.g. maas_auto_
But maas_auto_
Add it to actually allow users to change the default IPMI cipher suite ID.
Tested on MAAS 3.4.0~rc2 with this debug change to print script arguments:
def main():
...
args = parser.parse_args()
+ print(args)
...
Change MAAS config for IPMI cipher suite ID from 3 to 17:
$ maas admin maas get-config \
Success.
"3"
$ maas admin maas set-config \
value=17
Success.
OK
$ maas admin maas get-config \
Success.
"17"
Before:
(17 is not used; source code default of 3 is used, instead)
After:
(17 is now used!)
Found by comparison with (working) parameter maas_auto_
$ grep -r 'maas_auto_
$ grep -r 'maas_auto_
Signed-off-by: Mauricio Faria de Oliveira <email address hidden>
(cherry picked from commit f06ea636a946617
UNIT TESTS f06ea63- 3.4 lp:~troyanov/maas/+git/maas into -b 3.4 lp:~maas-committers/maas
-b backport-
STATUS: SUCCESS 4ff4a0e72466a5e b643c496cf
COMMIT: 90bad52d61ce06b