Last active
March 15, 2017 00:36
-
-
Save jonathanelbailey/0bc55ade9aafe6191e92a12c5c65fc87 to your computer and use it in GitHub Desktop.
a script that installs all dependencies required to install an ovirt host.
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/bash | |
# to run this script, use the following command: | |
# curl -s \ | |
# https://gist.githubusercontent.com/jonathanelbailey/0bc55ade9aafe6191e92a12c5c65fc87/raw \ | |
# | sudo bash /dev/stdin | |
yum -y install python-setuptools epel-release gcc libxslt-devel \ | |
libxml++-devel libxml2-devel python-devel | |
yum -y install python-pip python-wheel python-lxml | |
pip install ovirt-engine-sdk-python | |
# disable repo so that ovirt-host can be installed. | |
sed -i -e '/\[epel\]/,/^\[/s/enabled=1/enabled=0/' /etc/yum.repos.d/epel.repo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment