Skip to content

Commit b06d1c5

Browse files
committed
Enable wired interfaces by default in networkd, disable in desktop profile
Ensure we get networking by default in the minimal image by enabling networkd's config. Given it now conflicts with NetworManager, disable networkd in the desktop profile via presets.
1 parent 1ee6db4 commit b06d1c5

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
89-ethernet.network.example

mkosi.extra/usr/lib/systemd/system-preset/10-particleos.preset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# Make sure we have networking available.
44
enable systemd-networkd.service
5+
enable systemd-networkd.socket
56
enable systemd-networkd-wait-online.service
67
enable systemd-resolved.service
78

mkosi.profiles/desktop/mkosi.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ Packages=
66
pipewire
77
pipewire-alsa
88
xdg-desktop-portal
9+
10+
# NetworkManager is used in the desktop profiles
11+
RemoveFiles=/usr/lib/systemd/network/89-ethernet.network

0 commit comments

Comments
 (0)