diff options
author | zshi <zshi@redhat.com> | 2016-10-13 17:33:25 +0800 |
---|---|---|
committer | zshi <zshi@redhat.com> | 2016-10-13 17:38:25 +0800 |
commit | 7af4fecfe2d8e2d118498ab1d36665c2ca99e727 (patch) | |
tree | 4df5148b0bef89da49f72f6e5feb5c388fdf3488 /build/overcloud-full.sh | |
parent | 4e2424a3802fc541a9b21ad53981b4725ed70320 (diff) |
Fix openstack-congress package name
JIRA: APEX-287
openstack-congress rpm-spec use '%dist' macro as name
suffix, '%dist' macro is different over various distros
which may cause name mismatch when uploading package to
overcloud images; fix it by using '%dist' macro in
package name to avoid possible mismatch.
Change-Id: Iaa7068d7da3e5fe3728baf2fa3c67eb45355c74a
Signed-off-by: zshi <zshi@redhat.com>
Diffstat (limited to 'build/overcloud-full.sh')
-rwxr-xr-x | build/overcloud-full.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/overcloud-full.sh b/build/overcloud-full.sh index b148542f..5ed2bdb4 100755 --- a/build/overcloud-full.sh +++ b/build/overcloud-full.sh @@ -125,8 +125,8 @@ LIBGUESTFS_BACKEND=direct virt-customize \ --run-command "yum remove -y qemu-system-x86" \ --upload ../os-net-config.tar.gz:/usr/lib/python2.7/site-packages \ --run-command "cd /usr/lib/python2.7/site-packages/ && rm -rf os_net_config && tar xzf os-net-config.tar.gz" \ - --upload ../noarch/openstack-congress-2016.1-1.el7.centos.noarch.rpm:/root/ \ - --install /root/openstack-congress-2016.1-1.el7.centos.noarch.rpm \ + --upload ../noarch/$openstack_congress_pkg:/root/ \ + --install /root/$openstack_congress_pkg \ --install "python2-congressclient" \ --upload puppet-congress.tar.gz:/etc/puppet/modules/ \ --run-command "cd /etc/puppet/modules/ && tar xzf puppet-congress.tar.gz" \ |