prepare-root.sh: add default NM /etc config
This commit is contained in:
parent
a5393bfa60
commit
8d930e2784
|
@ -333,6 +333,7 @@ if [[ -d "$sysroot"/etc/NetworkManager ]]; then
|
||||||
ln -fsnr "$sysroot"/var/etc/NetworkManager "$sysroot"/etc/NetworkManager
|
ln -fsnr "$sysroot"/var/etc/NetworkManager "$sysroot"/etc/NetworkManager
|
||||||
cat >> "$sysroot"/usr/lib/tmpfiles.d/NetworkManager.conf <<EOF
|
cat >> "$sysroot"/usr/lib/tmpfiles.d/NetworkManager.conf <<EOF
|
||||||
d /var/lib/NetworkManager 0755 root root - -
|
d /var/lib/NetworkManager 0755 root root - -
|
||||||
|
C /var/etc/NetworkManager - - - - -
|
||||||
d /run/NetworkManager 0755 root root - -
|
d /run/NetworkManager 0755 root root - -
|
||||||
EOF
|
EOF
|
||||||
rm -fr "$sysroot"/etc/sysconfig/network-scripts
|
rm -fr "$sysroot"/etc/sysconfig/network-scripts
|
||||||
|
|
Loading…
Reference in a new issue