diff options
Diffstat (limited to 'build/overcloud-full.sh')
-rwxr-xr-x | build/overcloud-full.sh | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/build/overcloud-full.sh b/build/overcloud-full.sh index bce99437..12984b2d 100755 --- a/build/overcloud-full.sh +++ b/build/overcloud-full.sh @@ -50,6 +50,12 @@ for package in ${dpdk_rpms[@]}; do dpdk_pkg_str+=" --upload $package:/root/dpdk_rpms" done +fdio_pkg_str='' +for package in ${fdio_pkgs[@]}; do + wget "$fdio_uri_base/$package" + fdio_pkg_str+=" --upload $package:/root/fdio" +done + # tar up the congress puppet module rm -rf puppet-congress git clone -b stable/mitaka https://github.com/radez/puppet-congress @@ -105,7 +111,9 @@ LIBGUESTFS_BACKEND=direct virt-customize \ --run-command "cd /etc/puppet/modules && rm -rf tripleo && tar xzf opnfv-puppet-tripleo.tar.gz" \ --run-command "echo 'nf_conntrack_proto_sctp' > /etc/modules-load.d/nf_conntrack_proto_sctp.conf" \ --run-command "mkdir /root/dpdk_rpms" \ + --run-command "mkdir /root/fdio" \ $dpdk_pkg_str \ + $fdio_pkg_str \ --install "centos-release-qemu-ev" \ --run-command "yum update -y" \ --run-command "yum remove -y qemu-system-x86" \ @@ -118,10 +126,8 @@ LIBGUESTFS_BACKEND=direct virt-customize \ --run-command "cd /etc/puppet/modules/ && tar xzf puppet-congress.tar.gz" \ --run-command "cd /usr/lib/python2.7/site-packages/congress/datasources && curl -O $doctor_driver" \ --run-command "sed -i \"s/'--detailed-exitcodes',/'--detailed-exitcodes','-l','syslog','-l','console',/g\" /var/lib/heat-config/hooks/puppet" \ - --upload ../vpp-bin.tar.gz:/root \ - --run-command "cd /root && tar zxvf vpp-bin.tar.gz" \ - --run-command "yum install -y /root/vpp-bin/*.rpm" \ - --run-command "tar zxvf /root/vpp-bin/vpp_papi*.tar.gz -C /" \ + --run-command "yum install -y /root/fdio/*.rpm" \ + --run-command "tar zxvf /root/fdio/vpp_papi*.tar.gz -C /" \ --install unzip \ --upload puppet-fdio.tar.gz:/etc/puppet/modules \ --run-command "cd /etc/puppet/modules && tar xzf puppet-fdio.tar.gz" \ |