Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-11-13 | support 'power_state' cloud-config for specifying shutdown | Scott Moser | |
this adds 'power-state-change' config module that allows the user to specify in cloud-config syntax that a system reboot or shutdown should occur after cloud-init is done. | |||
2012-11-13 | use os.devnull [trivial] | Scott Moser | |
2012-11-13 | add sleep, allow errno '3' (ESRCH) on the open of /proc/pid/cmdline | Scott Moser | |
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. | |||
2012-11-13 | clean up exit to single function call | Scott Moser | |
2012-11-13 | fix read of /proc/cmdline | Scott Moser | |
2012-11-13 | implement power_state with tests. | Scott Moser | |
2012-11-13 | pep8 and pylint | Scott Moser | |
2012-11-13 | rename module 'finalcmd' to power-state-change | Scott Moser | |