-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: nightly ci now uses ubuntu 24.04+
which needs user namespaces to be re-enabled so that stacker can build/run Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com>
- Loading branch information
Showing
2 changed files
with
12 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh -xe | ||
|
||
# enable user namespaces | ||
sysctl -w kernel.apparmor_restrict_unprivileged_io_uring=0 | ||
sysctl -w kernel.apparmor_restrict_unprivileged_unconfined=0 | ||
sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 | ||
sysctl -w kernel.apparmor_restrict_unprivileged_userns_complain=0 | ||
sysctl -w kernel.apparmor_restrict_unprivileged_userns_force=0 | ||
sysctl -w kernel.unprivileged_bpf_disabled=2 | ||
sysctl -w kernel.unprivileged_userns_apparmor_policy=0 | ||
sysctl -w kernel.unprivileged_userns_clone=1 |