errors while running runcmd lines should fail the first boot
Bug #1802316 reported by
Thomas JOUANNOT
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Wishlist
|
Unassigned |
Bug Description
given a list of commands specified in a "runcmd" list, if a command fails i think it should prevent the next commands from running and mark the execution as failed
also, the power_state should be ignored.
To post a comment you must log in.
> given a list of commands specified in a "runcmd" list, if a command fails
> i think it should prevent the next commands from running and mark the
> execution as failed
I generally agree that that is how it *should* have been done.
At this point though we'd have to extend... so that backwards compatibility
is maintained.
> also, the power_state should be ignored.
For this I'm not so sure. power_state does have a 'condition' which
allows you to implement the logic yourself.
https:/ /cloudinit. readthedocs. io/en/latest/ topics/ modules. html#power- state-change