diff options
Diffstat (limited to 'odl-pipeline/lib')
-rw-r--r-- | odl-pipeline/lib/odl_reinstaller/odl_reinstaller.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/odl-pipeline/lib/odl_reinstaller/odl_reinstaller.py b/odl-pipeline/lib/odl_reinstaller/odl_reinstaller.py index 372c200..34a6732 100644 --- a/odl-pipeline/lib/odl_reinstaller/odl_reinstaller.py +++ b/odl-pipeline/lib/odl_reinstaller/odl_reinstaller.py @@ -106,7 +106,8 @@ class ODLReInstaller(Service): if '.rpm' in odl_artifact: LOG.info('Installing %s on node %s' % (odl_artifact, node.name)) - node.execute('yum remove -y opendaylight; yum install -y %s' + node.execute('yum remove -y opendaylight', as_root=True) + node.execute('yum install -y %s' % (tar_tmp_path + odl_artifact), as_root=True) node.execute('rm -rf ' + tar_tmp_path, as_root=True) LOG.info('Starting Opendaylight on node %s' % node.name) |