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
This commit is contained in:
Monty Taylor 2015-05-22 13:19:39 -07:00
parent 2d62cd93ee
commit da65ce3c26

View File

@ -1,7 +1,11 @@
# Call a script to generate a /etc/network/interfaces file to DHCP all available interfaces # 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 # Then remove this config file so the script is never run again
description "DHCP any connected, but unconfigured network interfaces" 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 start on starting network-interface
instance $INTERFACE instance $INTERFACE