Skip to content

Instantly share code, notes, and snippets.

@ArKam
Created April 14, 2021 09:13
Show Gist options
  • Save ArKam/275ecfb0cfbb43cbdf447bcd9a6696f0 to your computer and use it in GitHub Desktop.
Save ArKam/275ecfb0cfbb43cbdf447bcd9a6696f0 to your computer and use it in GitHub Desktop.
{
"variables": {
"access_token_id": "<SECRET_ID>",
"access_token_secret": "<SECRET_PASSWD>",
"public_endpoint": "<PUBLIC_OPENSTACK_KEYSTONE_ENDPOINT_URL>"
},
"builders": [
{
"type": "openstack",
"communicator": "winrm",
"application_credential_id": "{{user `access_token_id`}}",
"application_credential_secret": "{{user `access_token_secret`}}",
"identity_endpoint": "{{user `public_endpoint`}}",
"insecure": true,
"region": "poc",
"source_image": "<image_id>",
"flavor": "<flavor_id>",
"floating_ip_network": "<floating_ip_network_id>",
"networks": [
"<private_network_id>"
],
"winrm_username": "<secret_user>",
"winrm_password": "<secret_passwd>",
"image_name": "<generated_image_name>",
"image_disk_format": "RAW",
"use_blockstorage_volume": true,
"volume_size": "20"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment