summaryrefslogtreecommitdiffstats
path: root/build/overcloud-onos.sh
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-07-13 18:51:21 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-07-13 18:51:21 +0000
commit5dc5309bdafb0e8800605e2248e4a837c84d3880 (patch)
tree15b797ac0dfcdbbcfd0013067d6a55fcb1d68733 /build/overcloud-onos.sh
parentb36000ac8c1a2d26ad82b6bc81fb5e4a87440d24 (diff)
parent7054599033d84f87037badf6ed896483417af2f6 (diff)
Merge "Fixes build and deploy options for SFC/ONOS"
Diffstat (limited to 'build/overcloud-onos.sh')
-rwxr-xr-xbuild/overcloud-onos.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/build/overcloud-onos.sh b/build/overcloud-onos.sh
index d59be0a3..e13923d9 100755
--- a/build/overcloud-onos.sh
+++ b/build/overcloud-onos.sh
@@ -19,12 +19,12 @@ cp -f overcloud-full.qcow2 overcloud-full-onos_build.qcow2
#######################################
# upgrade ovs into ovs 2.5.90 with NSH function
-curl -L -O ${onos_ovs_uri}/package_ovs_rpm.tar.gz
-tar -xzf package_ovs_rpm.tar.gz
-LIBGUESTFS_BACKEND=direct virt-customize --upload openvswitch-kmod-2.5.90-1.el7.centos.x86_64.rpm:/root/ \
- --run-command "yum install -y /root/openvswitch-kmod-2.5.90-1.el7.centos.x86_64.rpm" \
- --upload openvswitch-2.5.90-1.el7.centos.x86_64.rpm:/root/ \
- --run-command "yum upgrade -y /root/openvswitch-2.5.90-1.el7.centos.x86_64.rpm" \
+curl -L -O ${onos_ovs_uri}/package_ovs_rpm_new.tar.gz
+tar -xzf package_ovs_rpm_new.tar.gz
+LIBGUESTFS_BACKEND=direct virt-customize --upload ${ovs_kmod_rpm_name}:/root/ \
+ --run-command "yum install -y /root/${ovs_kmod_rpm_name}" \
+ --upload ${ovs_rpm_name}:/root/ \
+ --run-command "yum upgrade -y /root/${ovs_rpm_name}" \
-a overcloud-full-onos_build.qcow2