Drop NetworkManager default config (#1813)

* Drop default NetworkManager configuration

NetworkManager will automatically connect using the global defaults.
Also Supervisor today will create a profiles once the user configures
the network explicitly.

* Create system-connection directory
This commit is contained in:
Stefan Agner
2022-03-25 08:53:30 +01:00
committed by GitHub
parent 59d69209dc
commit 99be958c4f
3 changed files with 1 additions and 21 deletions

View File

@@ -19,9 +19,6 @@ function fix_rootfs() {
# systemd-update-done.service relies on writeable /var and /etc
rm -f "${TARGET_DIR}/usr/lib/systemd/system/sysinit.target.wants/systemd-update-done.service"
# Fix: permission for system connection files
chmod 600 "${TARGET_DIR}/etc/NetworkManager/system-connections"/*
# Fix: tempfs with /srv
sed -i "/srv/d" "${TARGET_DIR}/usr/lib/tmpfiles.d/home.conf"