lp:~smoser/cloud-init/finalcmd
Created by
Scott Moser
and last modified
- Get this branch:
- bzr branch lp:~smoser/cloud-init/finalcmd
Only
Scott Moser
can upload to this branch. If you are
Scott Moser
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Joshua Harlow (community): Approve
-
Diff: 307 lines (+268/-0)5 files modifiedChangeLog (+2/-0)
cloudinit/config/cc_power_state_change.py (+156/-0)
config/cloud.cfg (+1/-0)
doc/examples/cloud-config.txt (+21/-0)
tests/unittests/test_handler/test_handler_power_state.py (+88/-0)
Related bugs
Bug #1064665: should have some way to indicate shutdown or reboot | Medium | Fix Released |
Related blueprints
Branch information
Recent revisions
- 734. By Scott Moser
-
add sleep, allow errno '3' (ESRCH) on the open of /proc/pid/cmdline
The sleep is added here simply to not completely spin cpu on waiting
for the parent pid to die.the allowing of errno 3 is because I was getting this. I dont have
a perfect explanation, but I suspect that the 'open' was actually
getting this back from the /proc filesystem after the pid had died.
Possibly in the window between when the 'open' was done and the 'read()'
was done.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~cloud-init-dev/cloud-init/trunk