Skip to content

Commit

Permalink
Add -broadcast flag to DHCP plugin documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Micah Hausler <[email protected]>
  • Loading branch information
micahhausler committed Feb 4, 2021
1 parent a27c985 commit bac8632
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion content/plugins/ipam/dhcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ $ ./dhcp daemon

If given `-pidfile <path>` arguments after 'daemon', the dhcp plugin will write
its PID to the given file.
If given `-hostprefix <prefix>` arguments after 'daemon', the dhcp plugin will use this prefix for DHCP socket as `<prefix>/run/cni/dhcp.sock`. You can use this prefix for references to the host filesystem, e.g. to access netns and the unix socket.
If given `-hostprefix <prefix>` arguments after 'daemon', the dhcp plugin will
use this prefix for DHCP socket as `<prefix>/run/cni/dhcp.sock`. You can use
this prefix for references to the host filesystem, e.g. to access netns and the
unix socket.
If given `-broadcast=true` argument after 'daemon', the dhcp plugin will
enable the broadcast flag on DHCP packets.

Alternatively, you can use systemd socket activation protocol.
Be sure that the .socket file uses /run/cni/dhcp.sock as the socket path.
Expand Down

0 comments on commit bac8632

Please sign in to comment.