Skip to content

Instantly share code, notes, and snippets.

@ianpurvis1976
Last active April 3, 2018 09:46
Show Gist options
  • Save ianpurvis1976/a2b686192bc99cab09b24febd6730009 to your computer and use it in GitHub Desktop.
Save ianpurvis1976/a2b686192bc99cab09b24febd6730009 to your computer and use it in GitHub Desktop.
curl -k -X POST $BLOCKSTORAGEV2/volumes/$VOLUME_ID/action -H "X-Auth-Token: $OS_AUTH_TOKEN" -H "Content-Type: application/json" -d '{"os-volume_upload_image":{"container_format":"'$CONTAINER_FORMAT'","disk_format":"'$DISK_FORMAT'","image_name":"'$NAME'","force":"'$FORCE'"}}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment