Skip to content

Instantly share code, notes, and snippets.

@jonathanelbailey
Last active March 15, 2017 00:36
Show Gist options
  • Save jonathanelbailey/0bc55ade9aafe6191e92a12c5c65fc87 to your computer and use it in GitHub Desktop.
Save jonathanelbailey/0bc55ade9aafe6191e92a12c5c65fc87 to your computer and use it in GitHub Desktop.
a script that installs all dependencies required to install an ovirt host.
#! /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