regenerate partials

This commit is contained in:
Jeff Escalante 2020-05-29 17:33:35 -04:00
parent 9a38fbe2c7
commit 3a55b92733
No known key found for this signature in database
GPG Key ID: 32D23C61AB5450DB
2 changed files with 299 additions and 297 deletions

View File

@ -12,8 +12,8 @@
- `shared_image_gallery` (SharedImageGallery) - Use a [Shared Gallery - `shared_image_gallery` (SharedImageGallery) - Use a [Shared Gallery
image](https://azure.microsoft.com/en-us/blog/announcing-the-public-preview-of-shared-image-gallery/) image](https://azure.microsoft.com/en-us/blog/announcing-the-public-preview-of-shared-image-gallery/)
as the source for this build. _VHD targets are incompatible with this as the source for this build. *VHD targets are incompatible with this
build type_ - the target must be a _Managed Image_. build type* - the target must be a *Managed Image*.
"shared_image_gallery": { "shared_image_gallery": {
"subscription": "00000000-0000-0000-0000-00000000000", "subscription": "00000000-0000-0000-0000-00000000000",
@ -41,7 +41,8 @@
- `shared_image_gallery_timeout` (duration string | ex: "1h5m2s") - How long to wait for an image to be published to the shared image - `shared_image_gallery_timeout` (duration string | ex: "1h5m2s") - How long to wait for an image to be published to the shared image
gallery before timing out. If your Packer build is failing on the gallery before timing out. If your Packer build is failing on the
Publishing to Shared Image Gallery step with the error `Original Error: context deadline exceeded`, but the image is present when you check your Publishing to Shared Image Gallery step with the error `Original Error:
context deadline exceeded`, but the image is present when you check your
Azure dashboard, then you probably need to increase this timeout from Azure dashboard, then you probably need to increase this timeout from
its default of "60m" (valid time units include `s` for seconds, `m` for its default of "60m" (valid time units include `s` for seconds, `m` for
minutes, and `h` for hours.) minutes, and `h` for hours.)
@ -169,7 +170,7 @@
Not all Marketplace images support programmatic deployment, and support Not all Marketplace images support programmatic deployment, and support
is controlled by the image publisher. is controlled by the image publisher.
An example plan_info object is defined below. An example plan\_info object is defined below.
```json ```json
{ {
@ -201,7 +202,8 @@
- `polling_duration_timeout` (duration string | ex: "1h5m2s") - The default PollingDuration for azure is 15mins, this property will override - `polling_duration_timeout` (duration string | ex: "1h5m2s") - The default PollingDuration for azure is 15mins, this property will override
that value. See [Azure DefaultPollingDuration](https://godoc.org/github.com/Azure/go-autorest/autorest#pkg-constants) that value. See [Azure DefaultPollingDuration](https://godoc.org/github.com/Azure/go-autorest/autorest#pkg-constants)
If your Packer build is failing on the If your Packer build is failing on the
ARM deployment step with the error `Original Error: context deadline exceeded`, then you probably need to increase this timeout from ARM deployment step with the error `Original Error:
context deadline exceeded`, then you probably need to increase this timeout from
its default of "15m" (valid time units include `s` for seconds, `m` for its default of "15m" (valid time units include `s` for seconds, `m` for
minutes, and `h` for hours.) minutes, and `h` for hours.)
@ -255,3 +257,4 @@
temporary resource group asynchronously set this value. It's a boolean temporary resource group asynchronously set this value. It's a boolean
value and defaults to false. Important Setting this true means that value and defaults to false. Important Setting this true means that
your builds are faster, however any failed deletes are not reported. your builds are faster, however any failed deletes are not reported.

View File

@ -11,16 +11,14 @@
```json ```json
{ {
"type": "virtualbox-iso", "type": "virtualbox-iso",
"export_opts": [ "export_opts":
[
"--manifest", "--manifest",
"--vsys", "--vsys", "0",
"0", "--description", "{{user `vm_description`}}",
"--description", "--version", "{{user `vm_version`}}"
"{{user `vm_description`}}",
"--version",
"{{user `vm_version`}}"
], ],
"format": "ova" "format": "ova",
} }
``` ```
@ -44,3 +42,4 @@
-var "vm_version=${vm_version}" \ -var "vm_version=${vm_version}" \
"packer_conf.json" "packer_conf.json"
``` ```