diskimage-builder/elements/dhcp-all-interfaces/install.d/dhcp-all-interfaces.conf
Robert Collins f49e8a42c4 Fix dhcp-all-interfaces upstart job
This was calling it for all interfaces previously, making the fixes
we'd put in place be ineffective.

Change-Id: I16bf81225a942e3b19a7e745d949e6ddea2fd50e
2014-04-02 09:14:03 +13:00

12 lines
346 B
Plaintext

# Call a script to generate a /etc/network/interfaces file to DHCP all available interfaces
# Then remove this config file so the script is never run again
description "DHCP any connected, but unconfigured network interfaces"
start on starting network-interface
instance $INTERFACE
task
exec /usr/local/sbin/dhcp-all-interfaces.sh $INTERFACE