From fa3544d92bcd426edf5ae4595e5b71481c5ad28e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Thu, 25 Aug 2022 12:10:37 +0200 Subject: [PATCH] [docs] Align IPA images urls To reflect stable branches. Change-Id: I8d7e0cbda3f55e2c96121e4d819385020f4e8aad --- doc/source/conf.py | 1 + doc/source/reference/bare-metal/ironic-guide.rst | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 63fca21843..96ddf85634 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -132,6 +132,7 @@ else: GLOBAL_VARIABLE_MAP = { '|KOLLA_OPENSTACK_RELEASE|': KOLLA_OPENSTACK_RELEASE, '|KOLLA_BRANCH_NAME|': KOLLA_BRANCH_NAME, + '|KOLLA_BRANCH_NAME_DASHED|': KOLLA_BRANCH_NAME.replace('/', '-'), '|TESTED_RUNTIMES_GOVERNANCE_URL|': TESTED_RUNTIMES_GOVERNANCE_URL, } diff --git a/doc/source/reference/bare-metal/ironic-guide.rst b/doc/source/reference/bare-metal/ironic-guide.rst index 1354677959..f01d4ee309 100644 --- a/doc/source/reference/bare-metal/ironic-guide.rst +++ b/doc/source/reference/bare-metal/ironic-guide.rst @@ -82,10 +82,10 @@ be used: .. code-block:: console - $ curl https://tarballs.opendev.org/openstack/ironic-python-agent/dib/files/ipa-centos8-master.kernel \ + $ curl https://tarballs.opendev.org/openstack/ironic-python-agent/dib/files/ipa-centos8-|KOLLA_BRANCH_NAME_DASHED|.kernel \ -o /etc/kolla/config/ironic/ironic-agent.kernel - $ curl https://tarballs.opendev.org/openstack/ironic-python-agent/dib/files/ipa-centos8-master.initramfs \ + $ curl https://tarballs.opendev.org/openstack/ironic-python-agent/dib/files/ipa-centos8-|KOLLA_BRANCH_NAME_DASHED|.initramfs \ -o /etc/kolla/config/ironic/ironic-agent.initramfs You may optionally pass extra kernel parameters to the inspection kernel using: