diskimage-builder/elements/simple-init/install.d/simple-init.conf
Monty Taylor da65ce3c26 Pass glean output to the console log
When something goes wrong, you usually can't boot the image. nova
console-log is usually available though.

Change-Id: Ie4525d0c3ee8b59f035544592b30f0635aba1811
2015-05-22 13:19:39 -07:00

16 lines
479 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 "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