Do not error if NovaLink not installed

Instead of throwing a fatal error if NovaLink is not installed,
simply warn the user instead.

Change-Id: Ib9d626432a216ade8ca2bc04a4f14d34c8b3989b
This commit is contained in:
adreznec
2016-01-21 12:47:28 -06:00
parent 7cbdf8dcc3
commit 528675cde9

View File

@@ -26,7 +26,7 @@ function cleanup_pypowervm {
function check_novalink_install {
echo_summary "Checking NovaLink installation"
if ! ( is_package_installed pvm-novalink ); then
die $LINENO "Please install NovaLink before continuing"
echo "WARNING: You are using the NovaLink drivers, but NovaLink is not installed on this system."
fi
# The user that nova runs as should be a member of **pvm_admin** group