Merge "Update tarballs base url"

This commit is contained in:
Zuul 2021-12-06 11:20:07 +00:00 committed by Gerrit Code Review
commit 6464025363
2 changed files with 9 additions and 8 deletions

View File

@ -170,9 +170,9 @@ DIB-based or any other IPA image, you will need to take the following steps:
file and update the ``ipa_kernel_upstream_url`` and
``ipa_kernel_upstream_url`` settings to a new URL.
For DIB-based images, these urls would be,
``https://tarballs.openstack.org/ironic-python-agent/dib/files/ipa-centos8-master.kernel``
``https://tarballs.opendev.org/openstack/ironic-python-agent/dib/files/ipa-centos8-master.kernel``
and
``https://tarballs.openstack.org/ironic-python-agent/dib/files/ipa-centos8-master.initramfs``
``https://tarballs.opendev.org/openstack/ironic-python-agent/dib/files/ipa-centos8-master.initramfs``
respectively.
#. Execute the installation playbook, and the set files will be automatically
downloaded again. If the files are not removed prior to (re)installation,

View File

@ -75,28 +75,29 @@ use_tinyipa: true
enable_uefi_ipxe: true
ipxe_efi_binary: ipxe.efi
tarballs_base_url: "https://tarballs.opendev.org/openstack/ironic-python-agent"
ipa_download_headers: {}
ipa_kernel: "{{http_boot_folder}}/ipa.kernel"
ipa_ramdisk: "{{http_boot_folder}}/ipa.initramfs"
ipa_kernel_url: "{{ ipa_file_protocol }}://{{ internal_ip }}:{{ file_url_port }}/ipa.kernel"
ipa_kernel_upstream_url: >-
{%- if use_tinyipa | bool -%}
https://tarballs.openstack.org/ironic-python-agent/tinyipa/files/tinyipa-{{ ipa_upstream_release }}.vmlinuz
{{tarballs_base_url}}/tinyipa/files/tinyipa-{{ ipa_upstream_release }}.vmlinuz
{%- elif ipa_upstream_release == "stable-train" -%}
https://tarballs.openstack.org/ironic-python-agent/dib/files/ipa-centos7-{{ ipa_upstream_release }}.kernel
{{tarballs_base_url}}/dib/files/ipa-centos7-{{ ipa_upstream_release }}.kernel
{%- else -%}
https://tarballs.openstack.org/ironic-python-agent/dib/files/ipa-centos8-{{ ipa_upstream_release }}.kernel
{{tarballs_base_url}}/dib/files/ipa-centos8-{{ ipa_upstream_release }}.kernel
{%- endif -%}
ipa_kernel_upstream_checksum_algo: "sha256"
ipa_kernel_upstream_checksum_url: "{{ ipa_kernel_upstream_url }}.{{ ipa_kernel_upstream_checksum_algo }}"
ipa_ramdisk_url: "{{ ipa_file_protocol }}://{{ internal_ip }}:{{ file_url_port }}/ipa.initramfs"
ipa_ramdisk_upstream_url: >-
{%- if use_tinyipa | bool -%}
https://tarballs.openstack.org/ironic-python-agent/tinyipa/files/tinyipa-{{ ipa_upstream_release }}.gz
{{tarballs_base_url}}/tinyipa/files/tinyipa-{{ ipa_upstream_release }}.gz
{%- elif ipa_upstream_release == "stable-train" -%}
https://tarballs.openstack.org/ironic-python-agent/dib/files/ipa-centos7-{{ ipa_upstream_release }}.initramfs
{{tarballs_base_url}}/dib/files/ipa-centos7-{{ ipa_upstream_release }}.initramfs
{%- else -%}
https://tarballs.openstack.org/ironic-python-agent/dib/files/ipa-centos8-{{ ipa_upstream_release }}.initramfs
{{tarballs_base_url}}/dib/files/ipa-centos8-{{ ipa_upstream_release }}.initramfs
{%- endif -%}
ipa_ramdisk_upstream_checksum_algo: "sha256"
ipa_ramdisk_upstream_checksum_url: "{{ ipa_ramdisk_upstream_url }}.{{ ipa_ramdisk_upstream_checksum_algo }}"