2015-03-23 20:48:51 +00:00
|
|
|
# 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
|
|
|
|
|
2015-05-22 20:19:39 +00:00
|
|
|
description "Run glean to configure network interfaces"
|
|
|
|
|
|
|
|
# console output connects stdout/stderr to the console log. This is important
|
|
|
|
# for debuggability of cloud images that wind up not booting
|
|
|
|
console output
|
2015-03-23 20:48:51 +00:00
|
|
|
|
|
|
|
start on starting network-interface
|
|
|
|
instance $INTERFACE
|
|
|
|
|
|
|
|
task
|
|
|
|
|
|
|
|
exec /usr/local/sbin/simple-init.sh $INTERFACE
|