diskimage-builder/elements/dhcp-all-interfaces
Moshe Levi a1d32c6d51 Increase interface has link retries to 20
InfiniBand interface takes more time to bring up then
Ethernet interface. This patch just increase the retries
to 20 times, to make it work for InfiniBand as well.

Change-Id: I5c4842696207885552413ea2d053f2e90bd6803c
2016-02-07 16:28:52 +02:00
..
install.d Increase interface has link retries to 20 2016-02-07 16:28:52 +02:00
README.rst Create docs site containing element READMEs 2015-02-10 11:45:35 -08:00

===================
dhcp-all-interfaces
===================
Autodetect network interfaces during boot and configure them for DHCP

The rationale for this is that we are likely to require multiple
network interfaces for use cases such as baremetal and there is no way
to know ahead of time which one is which, so we will simply run a
DHCP client on all interfaces with real MAC addresses (except lo) that
are visible on the first boot.

The script /usr/local/sbin/dhcp-all-interfaces.sh will be called
early in each boot and will scan available network interfaces and
ensure they are configured properly before networking services are started.