From 275361c63beb5fa210305ebc974c41b24ef0696d Mon Sep 17 00:00:00 2001 From: Sagi Shnaidman Date: Thu, 21 Feb 2019 02:49:18 +0200 Subject: [PATCH] Fix freeipa role for quickstart adding supplemental vm was broken by patches for OVB, this patch fixes it Change-Id: Ifbc5a232345448aa1cead2d42af95669b31c318b --- roles/tripleo-inventory/templates/ssh_config.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/tripleo-inventory/templates/ssh_config.j2 b/roles/tripleo-inventory/templates/ssh_config.j2 index c2d226a33..f71d4fd40 100644 --- a/roles/tripleo-inventory/templates/ssh_config.j2 +++ b/roles/tripleo-inventory/templates/ssh_config.j2 @@ -43,9 +43,9 @@ Host undercloud StrictHostKeyChecking no UserKnownHostsFile=/dev/null -{% if deploy_supplemental_node|bool and supplemental_node_ip_private is defined %} +{% if deploy_supplemental_node|bool and (supplemental_node_ip_private is defined or supplemental_node_ip is defined) %} Host supplemental - Hostname {{ supplemental_node_ip_private }} + Hostname {{ supplemental_node_ip_private|default(supplemental_node_ip) }} {% if undercloud_type == 'ovb' %} IdentityFile {{ extra_node_key }} {% else %}