Last active
March 17, 2018 00:29
-
-
Save nuriel77/40fcfbf681e6f34087ae57885439e0c9 to your computer and use it in GitHub Desktop.
overcloud prep
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
# Create a file with: | |
export DIB_DHCP_TIMEOUT=75 | |
export DIB_YUM_REPO_CONF="/etc/yum.repos.d/delorean*" | |
export DIB_YUM_REPO_CONF="$DIB_YUM_REPO_CONF /etc/yum.repos.d/CentOS-Ceph-Jewel.repo" | |
export STABLE_RELEASE="newton" | |
openstack overcloud image build --all | |
# Run above file (in screen) | |
# Then: | |
# Create a file 'CentOS-CBS.repo' containing: | |
[cbs-repo] | |
name="CentOS CBS - OpenStack cloud7 opstools" | |
baseurl=http://cbs.centos.org/repos/cloud7-openstack-optools-candidate/x86_64/os | |
enabled=0 | |
gpgcheck=0 | |
# Run: | |
virt-customize --copy-in CentOS-CBS.repo:/etc/yum.repos.d/ -a overcloud-full.qcow2 | |
virt-customize --run-command 'yum install fluentd osops-tools-monitoring-oschecks rubygem-fluent-plugin-add sensu rubygem-sensu-plugin -y --enablerepo=cbs-repo' -a overcloud-full.qcow2 | |
virt-customize --run-command 'yum install wget -y' -a overcloud-full.qcow2 | |
virt-customize --run-command 'wget -q http://linux.dell.com/repo/hardware/latest/bootstrap.cgi -O - | bash -' -a overcloud-full.qcow2 | |
virt-customize --run-command 'yum install -q -y syscfg srvadmin-omacore srvadmin-base srvadmin-storageservices' -a overcloud-full.qcow2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment