summaryrefslogtreecommitdiffstats
path: root/jjb/apex/apex.yml
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-01-15 00:07:14 -0500
committerDan Radez <dradez@redhat.com>2016-01-15 00:07:49 -0500
commit8fb1939d23f42a89b27b86d6c49155ee9a2fe519 (patch)
treea1acd875ed438550edacbf1ab5b2777d5235f269 /jjb/apex/apex.yml
parent26b86cf943aa7849e9162d36890e620d4179837a (diff)
adding sudo to yum remove for apex downgrade
Change-Id: I03954a7e80185adb26bd909cf2b9140fc1e2e340 Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'jjb/apex/apex.yml')
-rw-r--r--jjb/apex/apex.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/jjb/apex/apex.yml b/jjb/apex/apex.yml
index 57825cecd..e8064fcce 100644
--- a/jjb/apex/apex.yml
+++ b/jjb/apex/apex.yml
@@ -488,7 +488,7 @@
echo "RPM is already installed"
elif sudo yum update -y $RPM_LIST | grep "does not update installed package"; then
if ! sudo yum downgrade -y $RPM_LIST; then
- yum remove -y opnfv-undercloud opnfv-common
+ sudo yum remove -y opnfv-undercloud opnfv-common
sudo yum downgrade -y $RPM_INSTALL_PATH
fi
fi
@@ -560,7 +560,7 @@
echo "RPM is already installed"
elif sudo yum update -y $RPM_LIST | grep "does not update installed package"; then
if ! sudo yum downgrade -y $RPM_LIST; then
- yum remove -y opnfv-undercloud opnfv-common
+ sudo yum remove -y opnfv-undercloud opnfv-common
sudo yum downgrade -y $RPM_INSTALL_PATH
fi
fi