Skip to content

Commit

Permalink
lxc.generator: Fix systemd-networkd on recent distros
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <[email protected]>
  • Loading branch information
stgraber committed Dec 13, 2024
1 parent 4937e15 commit fc122ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions distrobuilder/lxc.generator
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ if [ ! -d /dev/.lxc ]; then
done
fi

# Workarounds for privileged containers.
if { [ "${ID}" = "altlinux" ] || [ "${ID}" = "arch" ] || [ "${ID}" = "fedora" ]; } && ! is_lxc_privileged_container; then
# Workarounds for unprivileged containers.
if ! is_lxc_privileged_container; then
fix_ro_paths systemd-networkd.service
fix_ro_paths systemd-resolved.service
fi
Expand Down

0 comments on commit fc122ca

Please sign in to comment.