Skip to content

Instantly share code, notes, and snippets.

@NULLx76
Last active January 11, 2021 17:37
  • Select an option

Select an option

Fix systemd in LXC

Step 1

create config dir for systemd-networkd:

mkdir -p /etc/systemd/system/systemd-networkd.service.d/

Step 2

Add the following content to /etc/systemd/system/systemd-networkd.service.d/override.conf

[Service]
BindReadOnlyPaths= /sys /proc

Step 3

Reboot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment