Skip to content

Instantly share code, notes, and snippets.

@fcicq
Last active January 14, 2019 11:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fcicq/7c2bba0f3c3b24b9c755bf87b4851ed5 to your computer and use it in GitHub Desktop.
Save fcicq/7c2bba0f3c3b24b9c755bf87b4851ed5 to your computer and use it in GitHub Desktop.
cat <<EOF >/etc/systemd/network/80-dhcp.network
[Match]
Name=en* eth*
[Network]
DHCP=yes
IPv6PrivacyExtensions=true
EOF
systemctl enable systemd-networkd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment