Set triple.undercloud_ssh_hostname to empty

Depends-On: https://review.opendev.org/c/x/tobiko/+/778672
Change-Id: I692c221a9375467365956cd068422ea66dff3650
This commit is contained in:
Federico Ressi 2021-03-04 16:10:12 +01:00
parent 47a45a8728
commit e35407b2b4

View File

@ -37,6 +37,7 @@ function configure_tobiko {
configure_tobiko_nova "${tobiko_conf_file}"
configure_tobiko_neutron "${tobiko_conf_file}"
configure_tobiko_ssh "${tobiko_conf_file}"
configure_tobiko_tripleo "${tobiko_conf_file}"
echo_summary "Apply changes to actual ${TOBIKO_CONF_FILE} file."
sudo mkdir -p $(dirname "${TOBIKO_CONF_FILE}")
@ -184,6 +185,16 @@ function configure_tobiko_ssh {
)
}
function configure_tobiko_tripleo {
echo_summary "Write [tripleo] section to ${TOBIKO_CONF_FILE}"
local tobiko_conf_file=$1
# Ensure Tobiko will skip looking for the undercloud node
iniset "${tobiko_conf_file}" tripleo undercloud_ssh_hostname ""
}
function configure_key_file {
local tobiko_conf_file=$1