Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/xen-tools/init-initrd: don't poweroff if EVE_CONTAINER_NO_POWEROF…
…F is set If container's init script misbehaves and exits, it becomes very difficult to debug such a container, because VM shuts down immediately by explicit poweroff call. This patch introduces an EVE_CONTAINER_NO_POWEROFF flag, which can be set in the application environment variables on the controller side and instead of calling /sbin/poweroff init-initrd sleeps infinitely, waiting for attention from a developer. Signed-off-by: Roman Penyaev <[email protected]>
- Loading branch information