Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
machine_core: Check for ws-container test scenario for starting Cockpit
We want to test the cockpit/ws container with beibooting on other images than just OSTree. Tests currently check the `Machine.ostree_image` flag both for *actual* specifics of OSTree (such as a read-only /usr) as well as a proxy for "am I running Cockpit from the container". As this won't coincide in the future, introduce a new `Machine.ws_container` flag. Set this for OSTree images, but also if the test scenario contains "ws-container". This keeps the choice explicit, and thus the tests robust.
- Loading branch information