4fac7ff925
I don't actually think there is a way that disable_interface would get called on Fedora... because if config_exists it takes a different path. Furthermore we really don't want to mess w/ configured interfaces in dhcp-all-interfaces because that could be side effecty (and is arguably the job os os-net-config anyways). This function already did nothing on Debian so removing shouldn't hurt anything. Change-Id: Ic53bbab98aa03d487efd290ae8e076045781b5b1 |
||
---|---|---|
.. | ||
install.d | ||
README.md |
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.