IPA Ramdisk should log to console in devstack
Setting these kernel command line parameters will have journald log
everything to the console, which means it'll end up in the appropriate
log in the ironic-bm-logs/ directory.
Change-Id: I0f4c79436c4856a5aa72f00f1ac8c2ed534b702e
diff --git a/lib/ironic b/lib/ironic
index f2b1fb2..3742d27 100644
--- a/lib/ironic
+++ b/lib/ironic
@@ -326,7 +326,7 @@
iniset $IRONIC_CONF_FILE glance swift_temp_url_duration 3600
iniset $IRONIC_CONF_FILE agent heartbeat_timeout 30
if [[ "$IRONIC_VM_LOG_CONSOLE" == "True" ]] ; then
- iniset $IRONIC_CONF_FILE agent agent_pxe_append_params "nofb nomodeset vga=normal console=ttyS0"
+ iniset $IRONIC_CONF_FILE agent agent_pxe_append_params "nofb nomodeset vga=normal console=ttyS0 systemd.journald.forward_to_console=yes"
fi
fi