-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[antlir2][rootless] support booted containers in rootless mode
Summary: Instead of forcing the use of `systemd-nspawn`, allow for booting `systemd` as init inside unprivileged containers. This enables fully rootless booted image tests that do not require `sudo` for the image build or the actual invocation. Rooted builds continue to use `systemd-nspawn`. Test Plan: ``` ❯ buck2 test fbcode//antlir/antlir2/testing/tests/... Buck UI: https://www.internalfb.com/buck2/0629229a-7e9f-48b2-bcce-cb427a561ec5 Test UI: https://www.internalfb.com/intern/testinfra/testrun/6192449698232658 Tests finished: Pass 402. Fail 0. Fatal 0. Skip 0. Build failure 0 ``` Reviewed By: epilatow Differential Revision: D68917919 fbshipit-source-id: 95a7c58bdea79d566083aec61901b2939b9c8d28
- Loading branch information
1 parent
d54f493
commit a773152
Showing
7 changed files
with
53 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters