update generated pages after rebase
This commit is contained in:
parent
e5a6363f95
commit
81b08898ba
|
@ -103,32 +103,34 @@ type Config struct {
|
|||
// as the source for this build. *VHD targets are incompatible with this
|
||||
// build type* - the target must be a *Managed Image*.
|
||||
//
|
||||
// "shared_image_gallery": {
|
||||
// "subscription": "00000000-0000-0000-0000-00000000000",
|
||||
// "resource_group": "ResourceGroup",
|
||||
// "gallery_name": "GalleryName",
|
||||
// "image_name": "ImageName",
|
||||
// "image_version": "1.0.0"
|
||||
// }
|
||||
// "managed_image_name": "TargetImageName",
|
||||
// "managed_image_resource_group_name": "TargetResourceGroup"
|
||||
// ```json
|
||||
// "shared_image_gallery": {
|
||||
// "subscription": "00000000-0000-0000-0000-00000000000",
|
||||
// "resource_group": "ResourceGroup",
|
||||
// "gallery_name": "GalleryName",
|
||||
// "image_name": "ImageName",
|
||||
// "image_version": "1.0.0"
|
||||
// }
|
||||
// "managed_image_name": "TargetImageName",
|
||||
// "managed_image_resource_group_name": "TargetResourceGroup"
|
||||
// ```
|
||||
SharedGallery SharedImageGallery `mapstructure:"shared_image_gallery"`
|
||||
|
||||
// The name of the Shared Image Gallery under which the managed image will be published as Shared Gallery Image version.
|
||||
//
|
||||
// Following is an example.
|
||||
//
|
||||
// <!-- -->
|
||||
//
|
||||
// "shared_image_gallery_destination": {
|
||||
// "resource_group": "ResourceGroup",
|
||||
// "gallery_name": "GalleryName",
|
||||
// "image_name": "ImageName",
|
||||
// "image_version": "1.0.0",
|
||||
// "replication_regions": ["regionA", "regionB", "regionC"]
|
||||
// }
|
||||
// "managed_image_name": "TargetImageName",
|
||||
// "managed_image_resource_group_name": "TargetResourceGroup"
|
||||
// ```json
|
||||
// "shared_image_gallery_destination": {
|
||||
// "resource_group": "ResourceGroup",
|
||||
// "gallery_name": "GalleryName",
|
||||
// "image_name": "ImageName",
|
||||
// "image_version": "1.0.0",
|
||||
// "replication_regions": ["regionA", "regionB", "regionC"]
|
||||
// }
|
||||
// "managed_image_name": "TargetImageName",
|
||||
// "managed_image_resource_group_name": "TargetResourceGroup"
|
||||
// ```
|
||||
SharedGalleryDestination SharedImageGalleryDestination `mapstructure:"shared_image_gallery_destination"`
|
||||
|
||||
// How long to wait for an image to be published to the shared image
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
- `security_token` (string) - STS access token, can be set through template or by exporting as
|
||||
environment variable such as `export SECURITY_TOKEN=value`.
|
||||
|
||||
|
|
@ -36,4 +36,4 @@
|
|||
data disk. Otherwise, Packer will keep the encryption setting to what
|
||||
it was in the source image. Please refer to Introduction of ECS disk encryption
|
||||
for more details.
|
||||
|
||||
|
|
@ -77,4 +77,4 @@
|
|||
data disk. Otherwise, Packer will keep the encryption setting to what
|
||||
it was in the source image. Please refer to Introduction of [ECS disk encryption](https://www.alibabacloud.com/help/doc-detail/59643.htm)
|
||||
for more details.
|
||||
|
||||
|
|
@ -55,4 +55,4 @@
|
|||
containing a `name` and a `value` field. In HCL2 mode the
|
||||
[`dynamic_block`](/docs/configuration/from-1.5/expressions#dynamic-blocks)
|
||||
will allow you to create those programatically.
|
||||
|
||||
|
|
@ -4,4 +4,4 @@
|
|||
English or Chinese characters. It must begin with an uppercase/lowercase
|
||||
letter or a Chinese character, and may contain numbers, _ or -. It
|
||||
cannot begin with `http://` or `https://`.
|
||||
|
||||
|
|
@ -91,4 +91,4 @@
|
|||
- `ssh_private_ip` (bool) - If this value is true, packer will connect to
|
||||
the ECS created through private ip instead of allocating a public ip or an
|
||||
EIP. The default value is false.
|
||||
|
||||
|
|
@ -9,4 +9,4 @@
|
|||
|
||||
- `source_image` (string) - This is the base image id which you want to
|
||||
create your customized images.
|
||||
|
||||
|
|
@ -132,4 +132,4 @@
|
|||
|
||||
- `ami_architecture` (string) - what architecture to use when registering the final AMI; valid options
|
||||
are "x86_64" or "arm64". Defaults to "x86_64".
|
||||
|
||||
|
|
@ -4,4 +4,4 @@
|
|||
currently running instance. This must be an EBS-backed AMI with a root
|
||||
volume snapshot that you have access to. Note: this is not used when
|
||||
from_scratch is set to true.
|
||||
|
||||
|
|
@ -117,4 +117,4 @@
|
|||
create volumes from the snapshot(s). By default no groups have permission
|
||||
to create volumes from the snapshot(s). all will make the snapshot
|
||||
publicly accessible.
|
||||
|
||||
|
|
@ -4,4 +4,4 @@
|
|||
AWS console or via APIs. This must be unique. To help make this unique,
|
||||
use a function like timestamp (see [template
|
||||
engine](/docs/templates/engine) for more info).
|
||||
|
||||
|
|
@ -68,4 +68,4 @@
|
|||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
@ -12,4 +12,4 @@
|
|||
- `secret_key` (string) - The secret key used to communicate with AWS. [Learn how to set
|
||||
this](/docs/builders/amazon#specifying-amazon-credentials). This is not required
|
||||
if you are using `use_vault_aws_engine` for authentication instead.
|
||||
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
<!-- Code generated from the comments of the AmiFilterOptions struct in builder/amazon/common/run_config.go; DO NOT EDIT MANUALLY -->
|
||||
|
||||
- `most_recent` (bool) - Most Recent
|
||||
- `most_recent` (bool) - Most Recent
|
|
@ -40,4 +40,4 @@
|
|||
CopyImage](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CopyImage.html)
|
||||
This field is validated by Packer, when using an alias, you will have to
|
||||
prefix kms_key_id with alias/.
|
||||
|
||||
|
|
@ -314,4 +314,4 @@
|
|||
should be direct, `ssh_interface` must be set to `private_dns` and
|
||||
`<region>.compute.internal` included in the `NO_PROXY` environment
|
||||
variable.
|
||||
|
||||
|
|
@ -7,4 +7,4 @@
|
|||
provisioned on the currently running instance. This must be an EBS-backed
|
||||
AMI with a root volume snapshot that you have access to. Note: this is not
|
||||
used when from_scratch is set to true.
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<!-- Code generated from the comments of the SubnetFilterOptions struct in builder/amazon/common/run_config.go; DO NOT EDIT MANUALLY -->
|
||||
|
||||
- `most_free` (bool) - Most Free
|
||||
- `random` (bool) - Random
|
||||
- `random` (bool) - Random
|
|
@ -12,4 +12,4 @@
|
|||
credential types) and GetFederationToken (for federation_token
|
||||
credential types) for more details.
|
||||
|
||||
- `engine_name` (string) - Engine Name
|
||||
- `engine_name` (string) - Engine Name
|
|
@ -31,4 +31,4 @@
|
|||
Because we don't validate the OS type of your guest, it is up to you to
|
||||
make sure you don't set this for *nix guests; behavior may be
|
||||
unpredictable.
|
||||
|
||||
|
|
@ -5,4 +5,4 @@
|
|||
false, the block device will be mapped into the final created AMI. Set
|
||||
this option to true if you need a block device mounted in the surrogate
|
||||
AMI but not in the final created AMI.
|
||||
|
||||
|
|
@ -24,4 +24,4 @@
|
|||
|
||||
- `ami_architecture` (string) - what architecture to use when registering the
|
||||
final AMI; valid options are "x86_64" or "arm64". Defaults to "x86_64".
|
||||
|
||||
|
|
@ -7,4 +7,4 @@
|
|||
- `source_device_name` (string) - The device name of the block device on
|
||||
the source instance to be used as the root device for the AMI. This
|
||||
must correspond to a block device in `launch_block_device_mapping`.
|
||||
|
||||
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
- `volume_size` (int64) - The size of the volume, in GiB. Required if
|
||||
not specifying a snapshot_id.
|
||||
|
||||
|
|
@ -8,4 +8,4 @@
|
|||
containing a `name` and a `value` field. In HCL2 mode the
|
||||
[`dynamic_block`](/docs/configuration/from-1.5/expressions#dynamic-blocks)
|
||||
will allow you to create those programatically.
|
||||
|
||||
|
|
@ -41,4 +41,4 @@
|
|||
the
|
||||
[`dynamic_block`](/docs/configuration/from-1.5/expressions#dynamic-blocks)
|
||||
will allow you to create those programatically.
|
||||
|
||||
|
|
@ -36,4 +36,4 @@
|
|||
certificates are uploaded after provisioning is run, so it is perfectly
|
||||
okay to create this directory as part of the provisioning process.
|
||||
Defaults to /tmp.
|
||||
|
||||
|
|
@ -13,4 +13,4 @@
|
|||
|
||||
- `x509_key_path` (string) - The local path to the private key for the X509 certificate specified by
|
||||
x509_cert_path. This is used for bundling the AMI.
|
||||
|
||||
|
|
@ -238,4 +238,4 @@
|
|||
temporary resource group asynchronously set this value. It's a boolean
|
||||
value and defaults to false. Important Setting this true means that
|
||||
your builds are faster, however any failed deletes are not reported.
|
||||
|
||||
|
|
@ -35,4 +35,4 @@
|
|||
`custom_managed_image_name` must also be set. See
|
||||
[documentation](https://docs.microsoft.com/en-us/azure/storage/storage-managed-disks-overview#images)
|
||||
to learn more about managed images.
|
||||
|
||||
|
|
@ -3,4 +3,4 @@
|
|||
- `plan_name` (string) - Plan Name
|
||||
- `plan_product` (string) - Plan Product
|
||||
- `plan_publisher` (string) - Plan Publisher
|
||||
- `plan_promotion_code` (string) - Plan Promotion Code
|
||||
- `plan_promotion_code` (string) - Plan Promotion Code
|
|
@ -9,4 +9,4 @@
|
|||
across regions due to image synchronization latency. To ensure a consistent
|
||||
version across regions set this value to one that is available in all
|
||||
regions where you are deploying.
|
||||
|
||||
|
|
@ -4,4 +4,4 @@
|
|||
- `gallery_name` (string) - Sig Destination Gallery Name
|
||||
- `image_name` (string) - Sig Destination Image Name
|
||||
- `image_version` (string) - Sig Destination Image Version
|
||||
- `replication_regions` ([]string) - Sig Destination Replication Regions
|
||||
- `replication_regions` ([]string) - Sig Destination Replication Regions
|
|
@ -47,4 +47,4 @@
|
|||
|
||||
- `image_hyperv_generation` (string) - The [Hyper-V generation type](https://docs.microsoft.com/en-us/rest/api/compute/images/createorupdate#hypervgenerationtypes).
|
||||
Defaults to `V1`.
|
||||
|
||||
|
|
@ -3,4 +3,4 @@
|
|||
- `source` (string) - Either a managed disk resource ID or a publisher:offer:sku:version specifier for plaform image sources.
|
||||
|
||||
- `image_resource_id` (string) - The image to create using this build.
|
||||
|
||||
|
|
@ -23,4 +23,4 @@
|
|||
looked up using `subscription_id`.
|
||||
|
||||
- `subscription_id` (string) - The subscription to use.
|
||||
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
<!-- Code generated from the comments of the ArtifactParameter struct in builder/azure/dtl/config.go; DO NOT EDIT MANUALLY -->
|
||||
|
||||
- `name` (string) - Name
|
||||
- `value` (string) - Value
|
||||
- `type` (string) - Type
|
|
@ -0,0 +1,160 @@
|
|||
<!-- Code generated from the comments of the Config struct in builder/azure/dtl/config.go; DO NOT EDIT MANUALLY -->
|
||||
|
||||
- `capture_name_prefix` (string) - Capture
|
||||
|
||||
- `capture_container_name` (string) - Capture Container Name
|
||||
- `shared_image_gallery` (SharedImageGallery) - Use a [Shared 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
|
||||
build type* - the target must be a *Managed Image*.
|
||||
|
||||
```json
|
||||
"shared_image_gallery": {
|
||||
"subscription": "00000000-0000-0000-0000-00000000000",
|
||||
"resource_group": "ResourceGroup",
|
||||
"gallery_name": "GalleryName",
|
||||
"image_name": "ImageName",
|
||||
"image_version": "1.0.0"
|
||||
}
|
||||
"managed_image_name": "TargetImageName",
|
||||
"managed_image_resource_group_name": "TargetResourceGroup"
|
||||
```
|
||||
|
||||
- `shared_image_gallery_destination` (SharedImageGalleryDestination) - The name of the Shared Image Gallery under which the managed image will be published as Shared Gallery Image version.
|
||||
|
||||
Following is an example.
|
||||
|
||||
```json
|
||||
"shared_image_gallery_destination": {
|
||||
"resource_group": "ResourceGroup",
|
||||
"gallery_name": "GalleryName",
|
||||
"image_name": "ImageName",
|
||||
"image_version": "1.0.0",
|
||||
"replication_regions": ["regionA", "regionB", "regionC"]
|
||||
}
|
||||
"managed_image_name": "TargetImageName",
|
||||
"managed_image_resource_group_name": "TargetResourceGroup"
|
||||
```
|
||||
|
||||
- `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
|
||||
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
|
||||
its default of "60m" (valid time units include `s` for seconds, `m` for
|
||||
minutes, and `h` for hours.)
|
||||
|
||||
- `image_publisher` (string) - PublisherName for your base image. See
|
||||
[documentation](https://azure.microsoft.com/en-us/documentation/articles/resource-groups-vm-searching/)
|
||||
for details.
|
||||
|
||||
CLI example `az vm image list-publishers --location westus`
|
||||
|
||||
- `image_offer` (string) - Offer for your base image. See
|
||||
[documentation](https://azure.microsoft.com/en-us/documentation/articles/resource-groups-vm-searching/)
|
||||
for details.
|
||||
|
||||
CLI example
|
||||
`az vm image list-offers --location westus --publisher Canonical`
|
||||
|
||||
- `image_sku` (string) - SKU for your base image. See
|
||||
[documentation](https://azure.microsoft.com/en-us/documentation/articles/resource-groups-vm-searching/)
|
||||
for details.
|
||||
|
||||
CLI example
|
||||
`az vm image list-skus --location westus --publisher Canonical --offer UbuntuServer`
|
||||
|
||||
- `image_version` (string) - Specify a specific version of an OS to boot from.
|
||||
Defaults to `latest`. There may be a difference in versions available
|
||||
across regions due to image synchronization latency. To ensure a consistent
|
||||
version across regions set this value to one that is available in all
|
||||
regions where you are deploying.
|
||||
|
||||
CLI example
|
||||
`az vm image list --location westus --publisher Canonical --offer UbuntuServer --sku 16.04.0-LTS --all`
|
||||
|
||||
- `image_url` (string) - Specify a custom VHD to use. If this value is set, do
|
||||
not set image_publisher, image_offer, image_sku, or image_version.
|
||||
|
||||
- `custom_managed_image_resource_group_name` (string) - Specify the source managed image's resource group used to use. If this
|
||||
value is set, do not set image\_publisher, image\_offer, image\_sku, or
|
||||
image\_version. If this value is set, the value
|
||||
`custom_managed_image_name` must also be set. See
|
||||
[documentation](https://docs.microsoft.com/en-us/azure/storage/storage-managed-disks-overview#images)
|
||||
to learn more about managed images.
|
||||
|
||||
- `custom_managed_image_name` (string) - Specify the source managed image's name to use. If this value is set, do
|
||||
not set image\_publisher, image\_offer, image\_sku, or image\_version.
|
||||
If this value is set, the value
|
||||
`custom_managed_image_resource_group_name` must also be set. See
|
||||
[documentation](https://docs.microsoft.com/en-us/azure/storage/storage-managed-disks-overview#images)
|
||||
to learn more about managed images.
|
||||
|
||||
- `location` (string) - Location
|
||||
- `vm_size` (string) - Size of the VM used for building. This can be changed when you deploy a
|
||||
VM from your VHD. See
|
||||
[pricing](https://azure.microsoft.com/en-us/pricing/details/virtual-machines/)
|
||||
information. Defaults to `Standard_A1`.
|
||||
|
||||
CLI example `az vm list-sizes --location westus`
|
||||
|
||||
- `managed_image_resource_group_name` (string) - Specify the managed image resource group name where the result of the
|
||||
Packer build will be saved. The resource group must already exist. If
|
||||
this value is set, the value managed_image_name must also be set. See
|
||||
documentation to learn more about managed images.
|
||||
|
||||
- `managed_image_name` (string) - Specify the managed image name where the result of the Packer build will
|
||||
be saved. The image name must not exist ahead of time, and will not be
|
||||
overwritten. If this value is set, the value
|
||||
managed_image_resource_group_name must also be set. See documentation to
|
||||
learn more about managed images.
|
||||
|
||||
- `managed_image_storage_account_type` (string) - Specify the storage account
|
||||
type for a managed image. Valid values are Standard_LRS and Premium_LRS.
|
||||
The default is Standard_LRS.
|
||||
|
||||
- `azure_tags` (map[string]\*string) - the user can define up to 15
|
||||
tags. Tag names cannot exceed 512 characters, and tag values cannot exceed
|
||||
256 characters. Tags are applied to every resource deployed by a Packer
|
||||
build, i.e. Resource Group, VM, NIC, VNET, Public IP, KeyVault, etc.
|
||||
|
||||
- `plan_id` (string) - Used for creating images from Marketplace images. Please refer to
|
||||
[Deploy an image with Marketplace
|
||||
terms](https://aka.ms/azuremarketplaceapideployment) for more details.
|
||||
Not all Marketplace images support programmatic deployment, and support
|
||||
is controlled by the image publisher.
|
||||
Plan_id is a string with unique identifier for the plan associated with images.
|
||||
Ex plan_id="1-12ab"
|
||||
|
||||
- `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)
|
||||
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
|
||||
its default of "15m" (valid time units include `s` for seconds, `m` for
|
||||
minutes, and `h` for hours.)
|
||||
|
||||
- `os_type` (string) - If either Linux or Windows is specified Packer will
|
||||
automatically configure authentication credentials for the provisioned
|
||||
machine. For Linux this configures an SSH authorized key. For Windows
|
||||
this configures a WinRM certificate.
|
||||
|
||||
- `os_disk_size_gb` (int32) - Specify the size of the OS disk in GB
|
||||
(gigabytes). Values of zero or less than zero are ignored.
|
||||
|
||||
- `disk_additional_size` ([]int32) - For Managed build the final artifacts are included in the managed image.
|
||||
The additional disk will have the same storage account type as the OS
|
||||
disk, as specified with the `managed_image_storage_account_type`
|
||||
setting.
|
||||
|
||||
- `disk_caching_type` (string) - Specify the disk caching type. Valid values
|
||||
are None, ReadOnly, and ReadWrite. The default value is ReadWrite.
|
||||
|
||||
- `storage_type` (string) - DTL values
|
||||
|
||||
- `lab_virtual_network_name` (string) - Lab Virtual Network Name
|
||||
- `lab_name` (string) - Lab Name
|
||||
- `lab_subnet_name` (string) - Lab Subnet Name
|
||||
- `lab_resource_group_name` (string) - Lab Resource Group Name
|
||||
- `dtl_artifacts` ([]DtlArtifact) - Dtl Artifacts
|
||||
- `vm_name` (string) - VM Name
|
|
@ -0,0 +1,6 @@
|
|||
<!-- Code generated from the comments of the DtlArtifact struct in builder/azure/dtl/config.go; DO NOT EDIT MANUALLY -->
|
||||
|
||||
- `artifact_name` (string) - Artifact Name
|
||||
- `repository_name` (string) - Repository Name
|
||||
- `artifact_id` (string) - Artifact Id
|
||||
- `parameters` ([]ArtifactParameter) - Parameters
|
|
@ -0,0 +1,7 @@
|
|||
<!-- Code generated from the comments of the SharedImageGallery struct in builder/azure/dtl/config.go; DO NOT EDIT MANUALLY -->
|
||||
|
||||
- `subscription` (string) - Subscription
|
||||
- `resource_group` (string) - Resource Group
|
||||
- `gallery_name` (string) - Gallery Name
|
||||
- `image_name` (string) - Image Name
|
||||
- `image_version` (string) - Image Version
|
|
@ -0,0 +1,7 @@
|
|||
<!-- Code generated from the comments of the SharedImageGalleryDestination struct in builder/azure/dtl/config.go; DO NOT EDIT MANUALLY -->
|
||||
|
||||
- `resource_group` (string) - Sig Destination Resource Group
|
||||
- `gallery_name` (string) - Sig Destination Gallery Name
|
||||
- `image_name` (string) - Sig Destination Image Name
|
||||
- `image_version` (string) - Sig Destination Image Version
|
||||
- `replication_regions` ([]string) - Sig Destination Replication Regions
|
|
@ -105,4 +105,4 @@
|
|||
false.
|
||||
|
||||
- `template_tag` (string) -
|
||||
- `tags` (map[string]string) - Tags
|
||||
- `tags` (map[string]string) - Tags
|
|
@ -30,4 +30,4 @@
|
|||
|
||||
- `template_os` (string) - The name or ID of the template OS for the new
|
||||
template that will be created.
|
||||
|
||||
|
|
@ -43,4 +43,4 @@
|
|||
data when launching the Droplet.
|
||||
|
||||
- `tags` ([]string) - Tags to apply to the droplet when it is created
|
||||
|
||||
|
|
@ -18,4 +18,4 @@
|
|||
image that will be used to launch a new droplet and provision it. See
|
||||
https://developers.digitalocean.com/documentation/v2/#list-all-images
|
||||
for details on how to get a list of the accepted image names/slugs.
|
||||
|
||||
|
|
@ -16,4 +16,4 @@
|
|||
- `aws_profile` (string) - The AWS shared credentials profile used to
|
||||
communicate with AWS. Learn how to set
|
||||
this.
|
||||
|
||||
|
|
@ -59,4 +59,4 @@
|
|||
for the duration of the pull. If true login_server is required and
|
||||
login, login_username, and login_password will be ignored. For more
|
||||
information see the section on ECR.
|
||||
|
||||
|
|
@ -12,4 +12,4 @@
|
|||
will be pulled from the Docker registry if it doesn't already exist.
|
||||
|
||||
- `message` (string) - Set a message for the commit.
|
||||
|
||||
|
|
@ -108,7 +108,8 @@
|
|||
project's default service account unless disable_default_service_account
|
||||
is true.
|
||||
|
||||
- `source_image_project_id` (string) - The project ID of the project containing the source image.
|
||||
- `source_image_project_id` ([]string) - A list of project IDs to search for the source image. Packer will search the first
|
||||
project ID in the list first, and fall back to the next in the list, until it finds the source image.
|
||||
|
||||
- `startup_script_file` (string) - The path to a startup script to run on the VM from which the image will
|
||||
be made.
|
||||
|
@ -136,4 +137,4 @@
|
|||
instance. For more information, see the Vault docs:
|
||||
https://www.vaultproject.io/docs/commands/#environment-variables
|
||||
Example:`"vault_gcp_oauth_engine": "gcp/token/my-project-editor",`
|
||||
|
||||
|
|
@ -13,4 +13,4 @@
|
|||
|
||||
- `zone` (string) - The zone in which to launch the instance used to create the image.
|
||||
Example: "us-central1-a"
|
||||
|
||||
|
|
@ -79,4 +79,4 @@
|
|||
- `user_data` (string) - User data to launch with the server. Packer will not
|
||||
automatically wait for a user script to finish before shutting down the
|
||||
instance, this must be handled in a provisioner.
|
||||
|
||||
|
|
@ -13,4 +13,4 @@
|
|||
- `vm_type` (string) - ID or name of the type this server should be created with.
|
||||
|
||||
- `disk_size` (float32) - Size of the created disk, in GiB.
|
||||
|
||||
|
|
@ -124,4 +124,4 @@
|
|||
- `SCSI:x:y`
|
||||
- `CD` *or* `DVD`
|
||||
- `NET`
|
||||
|
||||
|
|
@ -7,4 +7,4 @@
|
|||
packer is executed from. This directory must not exist or, if
|
||||
created, must be empty prior to running the builder. By default this is
|
||||
"output-BUILDNAME" where "BUILDNAME" is the name of the build.
|
||||
|
||||
|
|
@ -20,4 +20,4 @@
|
|||
disk_block_size will be ignored. The most likely use case for this
|
||||
option is outputing a disk that is in the format required for upload to
|
||||
Azure.
|
||||
|
||||
|
|
@ -21,4 +21,4 @@
|
|||
- `copy_in_compare` (bool) - When cloning a vm to build from, we run a powershell
|
||||
Compare-VM command, which, depending on your version of Windows, may need
|
||||
the "Copy" flag to be set to true or false. Defaults to "false". Command:
|
||||
|
||||
|
|
@ -38,4 +38,4 @@
|
|||
- `target_runlevel` (int) - The minimum run level to wait for the
|
||||
container to reach. Note some distributions (Ubuntu) simulate run levels
|
||||
and may report 5 rather than 3.
|
||||
|
||||
|
|
@ -6,4 +6,4 @@
|
|||
|
||||
- `template_environment_vars` ([]string) - Environmental variables to
|
||||
use to build the template with.
|
||||
|
||||
|
|
@ -20,4 +20,4 @@
|
|||
|
||||
- `launch_config` (map[string]string) - List of key/value pairs you wish to
|
||||
pass to lxc launch via --config. Defaults to empty.
|
||||
|
||||
|
|
@ -3,4 +3,4 @@
|
|||
- `image` (string) - The source image to use when creating the build
|
||||
container. This can be a (local or remote) image (name or fingerprint).
|
||||
E.G. my-base-image, ubuntu-daily:x, 08fababf6f27, ...
|
||||
|
||||
|
|
@ -29,4 +29,4 @@
|
|||
winrm access when you create a Windows server. An ACG that specifies an
|
||||
access source (0.0.0.0/0) and allowed port (5985) must be created in
|
||||
advance.
|
||||
|
||||
|
|
@ -4,4 +4,4 @@
|
|||
(member_server_image_no is required if not specified)
|
||||
|
||||
- `server_product_code` (string) - Product (spec) code to create.
|
||||
|
||||
|
|
@ -52,4 +52,4 @@
|
|||
[documentation](https://docs.openstack.org/os-client-config/latest/user/configuration.html)
|
||||
for more information about `clouds.yaml` files. If omitted, the
|
||||
`OS_CLOUD` environment variable is used.
|
||||
|
||||
|
|
@ -13,4 +13,4 @@
|
|||
- `identity_endpoint` (string) - The URL to the OpenStack Identity service. If not specified, Packer will
|
||||
use the environment variables OS_AUTH_URL, if set. This is not required
|
||||
if using cloud.yaml.
|
||||
|
||||
|
|
@ -18,4 +18,4 @@
|
|||
- `image_tags` ([]string) - List of tags to add to the image after creation.
|
||||
|
||||
- `image_min_disk` (int) - Minimum disk size needed to boot image, in gigabytes.
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<!-- Code generated from the comments of the ImageConfig struct in builder/openstack/image_config.go; DO NOT EDIT MANUALLY -->
|
||||
|
||||
- `image_name` (string) - The name of the resulting image.
|
||||
|
||||
|
|
@ -6,4 +6,4 @@
|
|||
|
||||
- `most_recent` (bool) - Selects the newest created image when true. This is most useful for
|
||||
selecting a daily distro build.
|
||||
|
||||
|
|
@ -4,4 +4,4 @@
|
|||
- `owner` (string) - Owner
|
||||
- `tags` ([]string) - Tags
|
||||
- `visibility` (string) - Visibility
|
||||
- `properties` (map[string]string) - Properties
|
||||
- `properties` (map[string]string) - Properties
|
|
@ -91,4 +91,4 @@
|
|||
- `openstack_provider` (string) - Not really used, but here for BC
|
||||
|
||||
- `use_floating_ip` (bool) - *Deprecated* use `floating_ip` or `floating_ip_pool` instead.
|
||||
|
||||
|
|
@ -57,4 +57,4 @@
|
|||
|
||||
- `flavor` (string) - The ID, name, or full URL for the desired flavor for the server to be
|
||||
created.
|
||||
|
||||
|
|
@ -11,4 +11,4 @@
|
|||
|
||||
- `usb` (bool) - Specifies whether to enable the USB bus when building
|
||||
the VM. Defaults to false.
|
||||
|
||||
|
|
@ -6,4 +6,4 @@
|
|||
is executed. This directory must not exist or be empty prior to running
|
||||
the builder. By default this is "output-BUILDNAME" where "BUILDNAME" is the
|
||||
name of the build.
|
||||
|
||||
|
|
@ -10,4 +10,4 @@
|
|||
template, where the Name
|
||||
variable is replaced with the VM name. More details on how to use prlctl
|
||||
are below.
|
||||
|
||||
|
|
@ -3,4 +3,4 @@
|
|||
- `prlctl_post` ([][]string) - Identical to prlctl, except
|
||||
that it is run after the virtual machine is shutdown, and before the virtual
|
||||
machine is exported.
|
||||
|
||||
|
|
@ -5,4 +5,4 @@
|
|||
the machine. This information can be useful for provisioning. By default
|
||||
this is ".prlctl_version", which will generally upload it into the
|
||||
home directory.
|
||||
|
||||
|
|
@ -14,4 +14,4 @@
|
|||
be attached as a CD device to the virtual machine. If the mode is "upload"
|
||||
the Parallels Tools ISO will be uploaded to the path specified by
|
||||
parallels_tools_guest_path. The default value is "upload".
|
||||
|
||||
|
|
@ -4,4 +4,4 @@
|
|||
install into the VM. Valid values are "win", "lin", "mac", "os2"
|
||||
and "other". This can be omitted only if parallels_tools_mode
|
||||
is "disable".
|
||||
|
||||
|
|
@ -37,4 +37,4 @@
|
|||
- `vm_name` (string) - This is the name of the PVM directory for the new
|
||||
virtual machine, without the file extension. By default this is
|
||||
"packer-BUILDNAME", where "BUILDNAME" is the name of the build.
|
||||
|
||||
|
|
@ -13,4 +13,4 @@
|
|||
- `reassign_mac` (bool) - If this is "false" the MAC address of the first
|
||||
NIC will reused when imported else a new MAC address will be generated
|
||||
by Parallels. Defaults to "false".
|
||||
|
||||
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
- `source_path` (string) - The path to a PVM directory that acts as the source
|
||||
of this build.
|
||||
|
||||
|
|
@ -234,4 +234,4 @@
|
|||
the new virtual machine. By default this is packer-BUILDNAME, where
|
||||
"BUILDNAME" is the name of the build. Currently, no file extension will be
|
||||
used unless it is specified in this option.
|
||||
|
||||
|
|
@ -15,4 +15,4 @@
|
|||
- `boottype` (string) - The type of boot, can be either local or
|
||||
bootscript, Default bootscript
|
||||
|
||||
- `remove_volume` (bool) - Remove Volume
|
||||
- `remove_volume` (bool) - Remove Volume
|
|
@ -26,4 +26,4 @@
|
|||
ARM64-64GB, ARM64-8GB, C1, C2L, C2M, C2S, START1-L,
|
||||
START1-M, START1-S, START1-XS, X64-120GB, X64-15GB, X64-30GB,
|
||||
X64-60GB
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<!-- Code generated from the comments of the TencentCloudAccessConfig struct in builder/tencentcloud/cvm/access_config.go; DO NOT EDIT MANUALLY -->
|
||||
|
||||
- `skip_region_validation` (bool) - Do not check region and zone when validate.
|
||||
|
||||
|
|
@ -13,4 +13,4 @@
|
|||
- `zone` (string) - The zone where your cvm will be launch. You should
|
||||
reference Region and Zone
|
||||
for parameter taking.
|
||||
|
||||
|
|
@ -18,4 +18,4 @@
|
|||
after your image created.
|
||||
|
||||
- `skip_region_validation` (bool) - Do not check region and zone when validate.
|
||||
|
||||
|
|
@ -3,4 +3,4 @@
|
|||
- `image_name` (string) - The name you want to create your customize image,
|
||||
it should be composed of no more than 60 characters, of letters, numbers
|
||||
or minus sign.
|
||||
|
||||
|
|
@ -60,4 +60,4 @@
|
|||
[`dynamic_block`](/docs/configuration/from-1.5/expressions#dynamic-blocks)
|
||||
will allow you to create those programatically.
|
||||
|
||||
- `ssh_private_ip` (bool) - SSH Private Ip
|
||||
- `ssh_private_ip` (bool) - SSH Private Ip
|
|
@ -6,4 +6,4 @@
|
|||
- `instance_type` (string) - The instance type your cvm will be launched by.
|
||||
You should reference Instace Type
|
||||
for parameter taking.
|
||||
|
||||
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
- `disk_type` (string) - Disk Type
|
||||
- `disk_size` (int64) - Disk Size
|
||||
- `disk_snapshot_id` (string) - Snapshot Id
|
||||
- `disk_snapshot_id` (string) - Snapshot Id
|
|
@ -17,4 +17,4 @@
|
|||
of the Triton endpoint. It is useful when connecting to a temporary Triton
|
||||
installation such as Cloud-On-A-Laptop which does not generally use a
|
||||
certificate signed by a trusted root CA. The default is false.
|
||||
|
||||
|
|
@ -7,4 +7,4 @@
|
|||
pair to use for authentication with the Triton Cloud API. If
|
||||
triton_key_material is not set, it is assumed that the SSH agent has the
|
||||
private key corresponding to this key ID loaded.
|
||||
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
<!-- Code generated from the comments of the MachineImageFilter struct in builder/triton/source_machine_config.go; DO NOT EDIT MANUALLY -->
|
||||
|
||||
- `most_recent` (bool) - Most Recent
|
||||
- `most_recent` (bool) - Most Recent
|
|
@ -40,4 +40,4 @@
|
|||
|
||||
- `source_machine_image_filter` (MachineImageFilter) - Filters used to populate the
|
||||
source_machine_image field. Example:
|
||||
|
||||
|
|
@ -16,4 +16,4 @@
|
|||
70e3ae72-96b6-11e6-9056-9737fd4d0764 for version 16.3.1 of the 64bit
|
||||
SmartOS base image (a 'joyent' brand image). source_machine_image_filter
|
||||
can be used to populate this UUID.
|
||||
|
||||
|
|
@ -19,4 +19,4 @@
|
|||
block containing a `name` and a `value` field. In HCL2 mode the
|
||||
[`dynamic_block`](/docs/configuration/from-1.5/expressions#dynamic-blocks)
|
||||
will allow you to create those programatically.
|
||||
|
||||
|
|
@ -9,4 +9,4 @@
|
|||
characters. Any string will do but a format of Major.Minor.Patch is
|
||||
strongly advised by Joyent. See Semantic Versioning
|
||||
for more information on the Major.Minor.Patch versioning format.
|
||||
|
||||
|
|
@ -70,4 +70,4 @@
|
|||
package your base box into its own standalone .box file.
|
||||
|
||||
- `output_vagrantfile` (string) - Output Vagrantfile
|
||||
- `package_include` ([]string) - Package Include
|
||||
- `package_include` ([]string) - Package Include
|
|
@ -14,4 +14,4 @@
|
|||
global-status output. If you choose to use global_id instead of
|
||||
source_box, Packer will skip the Vagrant initialize and add steps, and
|
||||
simply launch the box directly using the global id.
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue