diskimage-builder/elements/dhcp-all-interfaces/install.d
Dan Prince f10e614579 Support adding DHCP interfaces one at a time.
Refactors dhcp-all-interfaces.sh so that if an optional
INTERFACE argument (the first argument) is passed to the script
it only inspects that single interface. If no argument is
passed then the previous default behaviour is used which
causes all interfaces to be inspected.

To avoid a collision with the previous $1 we move to using
$FLOCKED for the exec flock command which runs on distributions
using ENI.

Also sets PATH so that the commands within the script
can all be found if it isn't set properly (/sbin/ip, /bin/cat, etc.)

This is a move towards using udev rules to add these types
of interfaces automatically.

Change-Id: I3ec8fd2cc2071bfc6943c744ca619e31b71146fc
2014-03-14 13:30:17 -04:00
..
50-dhcp-all-interfaces Support adding DHCP interfaces one at a time. 2014-03-14 13:30:17 -04:00
dhcp-all-interfaces.conf Rename generate-interfaces-file.sh... 2014-01-23 16:38:41 -05:00
dhcp-all-interfaces.sh Support adding DHCP interfaces one at a time. 2014-03-14 13:30:17 -04:00
udev.rules Support adding DHCP interfaces one at a time. 2014-03-14 13:30:17 -04:00