SAY clauses in PXE configs are being evaluated as they're encountered, not when the label is branched to
Bug #1045725 reported by
Gavin Panella
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Julian Edwards |
Bug Description
When booting using the commissioning template (config.
Booting (amd64) under MAAS direction...
Booting (i386) under MAAS direction...
even though the SAY clauses are nested within LABEL sections. It seems that PXELINUX does not consider them part of the section, and just executes them.
I think we should remove all SAY clauses from LABEL sections, and perhaps always SAY the template being rendered instead, for debugging later.
Related branches
lp://staging/~julian-edwards/maas/remove-multiple-SAY
- Raphaël Badin (community): Approve
-
Diff: 27 lines (+3/-4)1 file modifiedetc/maas/templates/pxe/config.commissioning.template (+3/-4)
Changed in maas: | |
assignee: | nobody → Julian Edwards (julian-edwards) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | none → 13.10 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
We implemented it differently in src/provisionin gserver/ pxe/config. xinstall. template and a SAY is executed only outside of labels.