Merge lp:~julian-edwards/maas/localboot-amt into lp:~maas-committers/maas/trunk
Proposed by
Julian Edwards
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Julian Edwards | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 3247 | ||||
Proposed branch: | lp:~julian-edwards/maas/localboot-amt | ||||
Merge into: | lp:~maas-committers/maas/trunk | ||||
Diff against target: |
88 lines (+31/-3) 3 files modified
etc/maas/templates/power/amt.template (+12/-3) src/maasserver/models/node.py (+8/-0) src/maasserver/models/tests/test_node.py (+11/-0) |
||||
To merge this branch: | bzr merge lp:~julian-edwards/maas/localboot-amt | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Raphaël Badin (community) | Approve | ||
Review via email: mp+238232@code.launchpad.net |
Commit message
Pass a boot_mode option to power templates (which says whether it's a local or a pxe boot) and make the amt template use it. This is to fix a bug with amt where it was always trying to use PXE power-up and resulted in a previously-deployed node failing to power up properly as it tried to PXE.
Description of the change
(This has tested working on my local rig)
To post a comment you must log in.
Nicely done! I've tested this on my NUCs as well and it works as expected.