~cloud-init-dev/cloud-init/trunk

Viewing all changes in revision 1157.

  • Committer: Scott Moser
  • Date: 2015-11-30 20:33:28 UTC
  • Revision ID: smoser@ubuntu.com-20151130203328-jdg6e1s8x5uqa6xv
systemd/power_state: fix power_state when cloud-final exited failure

if a runcmd exited failure, then power_state would not work.
This was because systemd was killing off subprocesses, and cloud-init
implemented power off with a subprocess that waited for the parent
to exit.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: