From da65ce3c268905a2f56864a9ae21c3b7b34d268f Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Fri, 22 May 2015 13:19:39 -0700 Subject: [PATCH] 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 --- elements/simple-init/install.d/simple-init.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/elements/simple-init/install.d/simple-init.conf b/elements/simple-init/install.d/simple-init.conf index 6dbcf516..8d7289f4 100644 --- a/elements/simple-init/install.d/simple-init.conf +++ b/elements/simple-init/install.d/simple-init.conf @@ -1,7 +1,11 @@ # 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" +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