Last active
January 11, 2022 11:16
-
-
Save sshnaidm/4d646cc7ee5a0014eb74cbded7752ee1 to your computer and use it in GitHub Desktop.
Set openstack repos for CentOS 9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
PROXY=${PROXY:-https://trunk.rdoproject.org} | |
DIRTMP=${1:-/tmp/blintz} | |
mkdir -p $DIRTMP | |
curl -o $DIRTMP/delorean.repo ${PROXY}/centos9-master/current-tripleo/delorean.repo | |
curl -o $DIRTMP/delorean-deps.repo ${PROXY}/centos9-master/delorean-deps.repo | |
curl -o $DIRTMP/delorean-current.repo ${PROXY}/centos9-master/component/tripleo/current/delorean.repo | |
echo 'includepkgs=ansible-role-container-registry,ansible-role-tripleo*,ansible-tripleo-ipsec,instack,instack-undercloud,openstack-tripleo-*,os-apply-config,os-collect-config,os-net-config,os-refresh-config,puppet-oslo,puppet-cinder,puppet-heat,puppet-neutron,puppet-nova,puppet-glance,puppet-horizon,puppet-ironic,puppet-keystone,puppet-openstacklib,puppet-placement,puppet-swift,puppet-tripleo,python*-tripleo*,tripleo-ansible,ansible-config_template,tripleo-operator-ansible | |
' >> $DIRTMP/delorean-current.repo | |
sed -i 's/priority *=.*/priority=10/g' $DIRTMP/delorean-current.repo | |
sed -i 's/delorean-component-tripleo/delorean-current/g' $DIRTMP/delorean-current.repo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment