Skip to content

Instantly share code, notes, and snippets.

@kylemanna
Created May 11, 2017 00:01
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kylemanna/27711c1fcd97d884c072a344046505ba to your computer and use it in GitHub Desktop.
Save kylemanna/27711c1fcd97d884c072a344046505ba to your computer and use it in GitHub Desktop.
How to prevent systemd-networkd from breaking nfsroots
# /etc/systemd/network/eth.network
# Pass nfsroot=... on the kernel command line as you'd expect
[Match]
Name=eth*
KernelCommandLine=!nfsroot
[Network]
DHCP=v4
[DHCPv4]
UseHostname=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment