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
6
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.commissioning.template) for example, the following output is observed:

  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

Revision history for this message
Julian Edwards (julian-edwards) wrote :

We implemented it differently in src/provisioningserver/pxe/config.xinstall.template and a SAY is executed only outside of labels.

tags: added: provisioning trivial
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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.