need explicit way to say "do not poweroff"

Bug #1605656 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
curtin
Confirmed
Low
Unassigned

Bug Description

at https://gist.github.com/smoser/2610e9b78b8d7b54319675d9e3986a1 i suggested people do:
power_state: None

but that does not work, and exits non-true because handling power state raises a type error.

we should fix power_state: None to work
but should also provide an explicit way to say "do nothing".

Revision history for this message
Scott Moser (smoser) wrote :

marking this invalid.
power_state: null

is the correct way in yaml to declare 'None'. we do support it. i just have to update doc.

Changed in curtin:
status: New → Invalid
status: Invalid → Confirmed
importance: Undecided → Low
Revision history for this message
Scott Moser (smoser) wrote :

re-opened.
i woudl like to be able to do:

power_state:
  mode: no-poweroff

or some nice way of keeping the dictionary but explicitly saying "just stay up"

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.