diskimage-builder/elements/simple-init/install.d/simple-init.conf

16 lines
479 B
Text
Raw Normal View History

# 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 "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
start on starting network-interface
instance $INTERFACE
task
exec /usr/local/sbin/simple-init.sh $INTERFACE