summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorbob_zhou <bob.zh@huawei.com>2016-01-16 16:31:01 +0800
committerbob_zhou <bob.zh@huawei.com>2016-01-16 16:31:09 +0800
commit8ef0ef042523f16c169dbd63a3a5f24d10f836f3 (patch)
treeb7b77eef938e1a52888fccce5f3ce42e392c7a83 /build
parent266eaa1148a529e829c322320d27842bad280157 (diff)
bug fix of onos deployment failed
change folder name of onos puppet to fix file not found error. Change-Id: I6cdee189e43c66ec8a49bbf736a6c28763638880 Signed-off-by: bob_zhou <bob.zh@huawei.com>
Diffstat (limited to 'build')
-rwxr-xr-xbuild/instack.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/instack.sh b/build/instack.sh
index 10a4e37c..52339b14 100755
--- a/build/instack.sh
+++ b/build/instack.sh
@@ -287,7 +287,8 @@ curl ${onos_artifacts_uri}/onos-1.3.0.tar.gz -o ./onos-1.3.0.tar.gz
curl ${onos_artifacts_uri}/repository.tar -o ./repository.tar
popd
popd
-tar -czf puppet-onos.tar.gz puppet-onos
+mv puppet-onos onos
+tar -czf puppet-onos.tar.gz onos
LIBGUESTFS_BACKEND=direct virt-customize --upload puppet-onos.tar.gz:/etc/puppet/modules/ \
--run-command "cd /etc/puppet/modules/ && tar xzf puppet-onos.tar.gz" -a overcloud-full-odl.qcow2