Correct CentOS mirror URL

The mirror URL provided by the OpenStack-CI mirror script
gives a result which includes the trailing /centos. We
should ensure that we expect that, but also provide a
sensible default for outside OpenStack-CI.

Change-Id: I476614bb8a77214e933c44c89fe8687cdafcc09e
This commit is contained in:
Jesse Pretorius 2018-04-04 17:05:08 +01:00
parent 933c006435
commit 56c4a325b2
1 changed files with 2 additions and 2 deletions

View File

@ -43,13 +43,13 @@ pip_install_rdo_repos:
- file: rdo-qemu-ev
name: rdo-qemu-ev
description: "RDO CentOS-7 - QEMU EV"
baseurl: "{{ openstack_hosts_centos_mirror_url | default('http://mirror.centos.org') }}/centos/7/virt/x86_64/kvm-common/"
baseurl: "{{ openstack_hosts_centos_mirror_url | default('http://mirror.centos.org/centos') }}/7/virt/x86_64/kvm-common/"
gpgcheck: yes
enabled: yes
- file: rdo-release
name: openstack-pike
description: "OpenStack Pike Repository"
baseurl: "{{ openstack_hosts_centos_mirror_url | default('http://mirror.centos.org') }}/centos/7/cloud/$basearch/openstack-pike/"
baseurl: "{{ openstack_hosts_centos_mirror_url | default('http://mirror.centos.org/centos') }}/7/cloud/$basearch/openstack-pike/"
gpgcheck: yes
enabled: yes