Skip to content

Commit

Permalink
network: set ClientIdentifier=mac for the PXE OEM
Browse files Browse the repository at this point in the history
Follow Ignition's convention of defaulting to the PXE OEM.  It
currently ignores the case where users define coreos.oem.id=pxe
on their kernel command-line manually.

This fixes coreos/bugs#1432.
  • Loading branch information
dm0- authored and mischief committed Jul 12, 2016
1 parent 4a740ba commit 3157e7a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions systemd/network/yy-pxe.network
@@ -0,0 +1,10 @@
[Match]
KernelCommandLine=!coreos.oem.id

[Network]
DHCP=yes

[DHCP]
ClientIdentifier=mac
UseMTU=true
UseDomains=true

0 comments on commit 3157e7a

Please sign in to comment.