Last active
August 29, 2015 13:56
-
-
Save markvoelker/8929789 to your computer and use it in GitHub Desktop.
Test coi pull
This file contains 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/bash | |
wget http://openstack-repo.cisco.com/openstack/APT-GPG-KEY-Cisco | |
cat APT-GPG-KEY-Cisco|apt-key add - | |
cat > /etc/apt/sources.list.d/cisco-openstack-mirror_icehouse.list<<EOF | |
# cisco-openstack-mirror_icehouse | |
deb http://openstack-repo.cisco.com/openstack/cisco icehouse-proposed main | |
deb-src http://openstack-repo.cisco.com/openstack/cisco icehouse-proposed main | |
EOF | |
apt-get update | |
apt-get install puppet -y | |
cd /usr/share/puppet | |
mkdir modules | |
cd modules | |
git clone -b bugs/1277728 https://github.com/CiscoSystems/puppet-coi coi | |
cd /root | |
git clone -b coi-development https://github.com/CiscoSystems/puppet_openstack_builder | |
cd puppet_openstack_builder | |
export vendor=cisco | |
export scenario=all_in_one | |
sed -i '/coi/d' modules.list | |
cd install-scripts | |
sed -i 's/icehouse main/icehouse-proposed main/g' cisco.install.sh | |
cd /root/puppet_openstack_builder/data/hiera_data/vendor | |
sed -i "s/pocket: ''/pocket: '-proposed'/" cisco_coi_common.yaml | |
cd /root/puppet_openstack_builder/install-scripts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment