Skip to content

Commit

Permalink
Merge pull request #759 from stgraber/main
Browse files Browse the repository at this point in the history
systemd: Tweak generator to handle systemd 254
  • Loading branch information
Christian Brauner authored Aug 3, 2023
2 parents 8f87993 + 940f3e6 commit 68bf125
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions distrobuilder/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@ fix_systemd_override_unit() {
[ "${systemd_version}" -ge 232 ] && echo "ProtectKernelTunables=no";
[ "${systemd_version}" -ge 239 ] && echo "NoNewPrivileges=no";
[ "${systemd_version}" -ge 249 ] && echo "LoadCredential=";
[ "${systemd_version}" -ge 254 ] && echo "PrivateNetwork=no";
# Additional settings for privileged containers
if is_lxc_privileged_container; then
Expand Down

0 comments on commit 68bf125

Please sign in to comment.