From 1c337aef12c7a026eee2020017f8433c71808433 Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Tue, 26 Jan 2016 11:46:39 -0500 Subject: Fixes ODL installing in SFC JIRA: APEX-66 Change-Id: If53470930e5b982ad172711f89dcdcfd7c5eec57 Signed-off-by: Tim Rozet --- build/instack.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'build') 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" \ -- cgit 1.2.3-korg