Simplify the API of _run_commands.
Switch to UNIX line endings.
Add get_resource function.

It is used to retrieve resources local to the package.
Look for a traceback in the cloudbaseinit logs.