Skip to content

Instantly share code, notes, and snippets.

@michaeltchapman
Last active April 5, 2016 16:12
Show Gist options
  • Save michaeltchapman/cd59581b4d2447aa265ec1dab0e81df1 to your computer and use it in GitHub Desktop.
Save michaeltchapman/cd59581b4d2447aa265ec1dab0e81df1 to your computer and use it in GitHub Desktop.
# upload the apex tripleo heat templates
rm -rf openstack-tripleo-heat-templates
git clone -b stable/brahmaputra https://github.com/trozet/opnfv-tht
pushd opnfv-tht > /dev/null
git archive --format=tar.gz --prefix=openstack-tripleo-heat-templates/ HEAD > ../opnfv-tht.tar.gz
popd > /dev/null
LIBGUESTFS_BACKEND=direct virt-customize --upload opnfv-tht.tar.gz:/usr/share \
--run-command "cd /usr/share && tar xzf opnfv-tht.tar.gz" \
-a overcloud-full-opendaylight_build.qcow2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment