Executor should attempt to clean up environment on failure
When System Installation fails in the middle of execution, the system is left precisely as it was at the moment of failure. This can be useful for debugging, but it would also be useful to have an option to the executor to have it clean up on failure.
Some items to consider:
- Unmount the
/target
directory tree. - Set the hostname back to the original.