summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorbob <bob.zh@huawei.com>2016-01-11 16:15:02 +0800
committerDan Radez <dradez@redhat.com>2016-01-15 10:20:54 -0500
commitca121bf38faf234cc3925e1016d2d7445259e670 (patch)
tree73b8aa082938e81e8992b268af02f9d790404201 /build
parent90c5cf6da143cfe4f50eace12251934ebd29a239 (diff)
fix onos package bug
Change-Id: I5994159ec3c48ed1bf66a5d90efd1d3c0800cc0e Signed-off-by: bob zhou <bob.zh@huawei.com>
Diffstat (limited to 'build')
-rwxr-xr-xbuild/instack.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/instack.sh b/build/instack.sh
index 92ef5e80..10a4e37c 100755
--- a/build/instack.sh
+++ b/build/instack.sh
@@ -286,8 +286,8 @@ curl ${onos_artifacts_uri}/jdk-8u51-linux-x64.tar.gz -o ./jdk-8u51-linux-x64.tar
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
-git archive --format=tar.gz --prefix=onos/ HEAD > ../puppet-onos.tar.gz
popd
+tar -czf puppet-onos.tar.gz puppet-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