Check for unsupported distros

- Updated install_requirements to check for and warn users
    of unsupported distros.

Change-Id: I66446be71ef8c3236449cc63c62c1a4fd114c066
This commit is contained in:
Helena McGough 2017-02-28 09:53:14 +00:00
parent 457fb7417e
commit 82c3a9ef1a
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ function install_requirements {
install_package libvirt-bin libvirt-dev python-libvirt
elif is_fedora; then
install_package libvirt libvirt-devel libvirt-python
else
echo "Unsupported distros"
fi
}