2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-11-21 18:02:27 +00:00

Have NetworkManager run if not already enabled

This commit is contained in:
Jarrod Johnson
2026-11-04 12:40:31 -05:00
parent aa85c1a8bb
commit b59d8b24c0
@@ -125,6 +125,8 @@ fi
# Hand NetworkManager the connection the initramfs is already using. Without
# this it claims the interface on its own terms and the tethered root
# filesystem goes away with the old address. confignet refines it at onboot.
mkdir -p /sysroot/etc/systemd/system/multi-user.target.wants/
ln -s /usr/lib/systemd/system/NetworkManager.service /sysroot/etc/systemd/system/multi-user.target.wants/NetworkManager.service
mkdir -p /sysroot/etc/NetworkManager/system-connections
for nmcfg in /run/confluent/*.nmconnection; do
[ -e "$nmcfg" ] || continue