Skip to content

Commit

Permalink
fedora-coreos-base: use NetworkManager for networking in the initramfs
Browse files Browse the repository at this point in the history
Moving to NetworkManager in the initrd should help us solve some
problems we've been having with Networking. For what we want to
do in Fedora CoreOS doing this right requires the network to be
torn down in the initrd and also possibly propagated forward.

Requires: coreos/ignition-dracut#159
Fixes: coreos/fedora-coreos-tracker#394
  • Loading branch information
dustymabe committed Mar 24, 2020
1 parent a1b3f22 commit 1ec4042
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions manifests/fedora-coreos-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ initramfs-args:
- --omit=lvm
- --omit=multipath
- --omit=iscsi
# Networking is NetworkManager
- --omit=systemd-networkd network-legacy
- --add=network-manager

# Be minimal
recommends: false
Expand Down Expand Up @@ -55,9 +58,6 @@ remove-from-packages:
/usr/lib/systemd/system/systemd-networkd-wait-online.service]
- [systemd-container, /usr/lib/systemd/network/.*]
- [systemd-udev, /usr/lib/systemd/network/.*]
# We're still using the legacy dracut network module for now. Dracut keys off
# of this: https://github.com/dracutdevs/dracut/blob/1fcc70fe57eea0ea658aa2de5c0044683fe85cf1/modules.d/40network/module-setup.sh#L11
- [NetworkManager, /usr/libexec/nm-initrd-generator]


remove-files:
Expand Down Expand Up @@ -116,10 +116,6 @@ packages:
- NetworkManager hostname
- iproute-tc
- adcli
# We still need this for now, but may drop it once we have NM in the initrd
# https://github.com/coreos/fedora-coreos-tracker/issues/394
# https://github.com/coreos/fedora-coreos-tracker/issues/429
- dhcp-client
## Teaming https://github.com/coreos/fedora-coreos-config/pull/289 and http://bugzilla.redhat.com/1758162
- NetworkManager-team teamd
# Static firewalling
Expand Down

0 comments on commit 1ec4042

Please sign in to comment.