NetworkManager/contrib/scripts/nm-in-container.d/data-etc-rc.local
Thomas Haller 5cfb9d9f78
contrib: setup "nm-in-container.sh" on start via rc.local script
We need to mount sysfs, so that `ip netns exec` works.
Do that automatically when starting the system container, via rc.local.

While at it, use `podman build --squash-all` to speedup the building of
the container image.
2022-09-09 17:46:00 +02:00

3 lines
51 B
Bash
Executable file

#!/bin/bash -e
/usr/bin/_nm-in-container-setup.sh