Skip to content

Instantly share code, notes, and snippets.

/-

Created March 30, 2017 07:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/59d3e7cc35864501b6a423ff643fd651 to your computer and use it in GitHub Desktop.
Save anonymous/59d3e7cc35864501b6a423ff643fd651 to your computer and use it in GitHub Desktop.
export ELEMENTS_PATH=tripleo-image-elements/elements:heat-agents/
export BASE_ELEMENTS="ubuntu selinux-permissive"
export AGENT_ELEMENTS="os-collect-config os-refresh-config os-apply-config"
export DEPLOYMENT_BASE_ELEMENTS="heat-config heat-config-script"
export DEPLOYMENT_TOOL="heat-config-puppet"
export IMAGE_NAME=ubuntu-xenial-software-config
export DIB_PYTHON_VERSION=2
disk-image-create vm $BASE_ELEMENTS \
$AGENT_ELEMENTS $DEPLOYMENT_BASE_ELEMENTS $DEPLOYMENT_TOOL \
-t raw -x \
-o $IMAGE_NAME.raw | tee output.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment