diff options
author | bobzhou <bob.zh@huawei.com> | 2017-03-10 10:09:55 +0800 |
---|---|---|
committer | bobzhou <bob.zh@huawei.com> | 2017-04-13 15:40:15 +0800 |
commit | 266e9a5336defeff5f10331ab8316d69e7b20cc1 (patch) | |
tree | 01f72ebbf2e73e5021d032f6a4d9328ab345cd93 /build/overcloud-onos.sh | |
parent | df58098027d081e99cdcce863ef24a992d8a7adb (diff) |
add onos deployment steps
opnfv-tht-pr: 128
opnfv-puppet-tripleo-pr: 23
Change-Id: Ib99f7e3968ed03bd86ca0de9c6c37c9871921486
Signed-off-by: bobzhou <bob.zh@huawei.com>
Diffstat (limited to 'build/overcloud-onos.sh')
-rwxr-xr-x | build/overcloud-onos.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/build/overcloud-onos.sh b/build/overcloud-onos.sh index 40f9f66a..c64c19b3 100755 --- a/build/overcloud-onos.sh +++ b/build/overcloud-onos.sh @@ -28,12 +28,16 @@ LIBGUESTFS_BACKEND=direct virt-customize --upload ${CACHE_DIR}/${onos_release_fi -a overcloud-full-onos_build.qcow2 #Those files can be store in local cache for saving download time -git clone https://github.com/saravanaonos/puppet-onos.git +git clone https://github.com/bobzhouHW/puppet-onos.git tar --xform="s:puppet-onos/:onos/:" -czf puppet-onos.tar.gz puppet-onos LIBGUESTFS_BACKEND=direct virt-customize --upload ${CACHE_DIR}/jdk-8u51-linux-x64.tar.gz:/opt/ \ --upload ${BUILD_DIR}/puppet-onos/files/install_jdk8.tar:/opt/ \ --run-command "cd /opt/ && tar -xf install_jdk8.tar && sh /opt/install_jdk8/install_jdk8.sh" \ + --upload ${BUILD_DIR}/puppet-onos/files/networking-onos.tar:/opt/ \ + --run-command "cd /opt/ && tar -xf networking-onos.tar && sh /opt/networking-onos/install_driver.sh" \ + --upload ${BUILD_DIR}/puppet-onos/files/networking-sfc.tar:/opt/ \ + --run-command "cd /opt/ && tar -xf networking-sfc.tar && sh /opt/networking-sfc/install_driver.sh" \ --upload ${BUILD_DIR}/puppet-onos.tar.gz:/etc/puppet/modules/ \ --run-command "cd /etc/puppet/modules/ && tar xzf puppet-onos.tar.gz" \ -a overcloud-full-onos_build.qcow2 |