From 378727f47abe5bdbbb22eab0969ad67c7b9cb090 Mon Sep 17 00:00:00 2001 From: Michael Still Date: Wed, 28 Sep 2016 10:52:15 +1000 Subject: [PATCH] Turn on debug output from IPA by default There's no real cost to having IPA debug output on, and it helps operators work out from a KVM what went wrong when things get exciting. So let's just turn it on by default. Co-Authored-By: Michael Carden Change-Id: I2ac525570088ea4494968666213d6f583bd5ede9 --- defaults/main.yml | 3 +++ templates/ironic.conf.j2 | 1 + 2 files changed, 4 insertions(+) diff --git a/defaults/main.yml b/defaults/main.yml index 3b128270..ba53c836 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -183,3 +183,6 @@ ironic_role_project_group: ironic_all ironic_ironic_conf_overrides: {} ironic_rootwrap_conf_overrides: {} ironic_policy_overrides: {} + +# pxe boot +ironic_pxe_append_params: "ipa-debug=1 systemd.journald.forward_to_console=yes" diff --git a/templates/ironic.conf.j2 b/templates/ironic.conf.j2 index 87e28f15..6ba1102d 100644 --- a/templates/ironic.conf.j2 +++ b/templates/ironic.conf.j2 @@ -138,6 +138,7 @@ pool_max_size = {{ ironic_wsgi_processes }} [pxe] tftp_server = {{ ironic_tftp_server_address }} +pxe_append_params = {{ ironic_pxe_append_params }} [seamicro]