Browse Source

Repair the previous image name

Since the migration to CentOS 8 we have been using 'centos' in
the published image names intead of 'centos8'. Fix that.

Change-Id: I65236379e93516c0fc447ce4d4edc89194e682b1
changes/93/763993/1
Dmitry Tantsur 2 months ago
parent
commit
83d628c4e4
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      roles/ipa-build-dib-image/tasks/main.yaml

+ 2
- 2
roles/ipa-build-dib-image/tasks/main.yaml View File

@ -2,14 +2,14 @@
set_fact:
image_release: 8
when:
- image_distro == "centos-minimal"
- image_distro in ["centos-minimal", "centos"]
- not image_release
- name: Generate a nice target name for CentOS
set_fact:
image_target_name: centos{{ image_release }}
when:
- image_distro == "centos-minimal"
- image_distro in ["centos-minimal", "centos"]
- not image_target_name
- name: Generate image name


Loading…
Cancel
Save