summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-01-26 11:46:39 -0500
committerTim Rozet <trozet@redhat.com>2016-01-28 00:58:06 +0000
commit1c337aef12c7a026eee2020017f8433c71808433 (patch)
treebecb63d5b83a8321b3f90cf5c81b003529502eeb
parentcc5578d53c28b80a3a1449b036b714c8647c11ae (diff)
Fixes ODL installing in SFC
JIRA: APEX-66 Change-Id: If53470930e5b982ad172711f89dcdcfd7c5eec57 Signed-off-by: Tim Rozet <trozet@redhat.com>
-rwxr-xr-xbuild/instack.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/instack.sh b/build/instack.sh
index a7ac8267..a0f2d0f0 100755
--- a/build/instack.sh
+++ b/build/instack.sh
@@ -376,7 +376,9 @@ LIBGUESTFS_BACKEND=direct virt-customize \
--run-command 'rm -f /lib/modules/3.13.7-1.el7.centos.x86_64/kernel/net/openvswitch/openvswitch.ko' \
--run-command 'ln -s /lib/modules/3.13.7-1.el7.centos.x86_64/kernel/extra/openvswitch/openvswitch.ko /lib/modules/3.13.7-1.el7.centos.x86_64/kernel/net/openvswitch/openvswitch.ko' \
--upload /tmp/opendaylight.repo:/etc/yum.repos.d/opendaylight.repo \
- --run-command "yum update -y opendaylight" \
+ --run-command "yum remove -y opendaylight" \
+ --run-command "yum clean all" \
+ --run-command "yum install -y opendaylight" \
--run-command "rm -rf /etc/puppet/modules/opendaylight && rm -f /etc/puppet/modules/puppet-opendaylight.tar.gz " \
--upload puppet-opendaylight.tar.gz:/etc/puppet/modules/ \
--run-command "cd /etc/puppet/modules/ && tar xzf puppet-opendaylight.tar.gz" \