mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-24 16:54:09 -04:00
* start using `go:generate packer-sdc struct-markdown` * Update Makefile remove @go install ./cmd/struct-markdown * run go generate for struct-markdown * use //go:generate packer-sdc mapstructure-to-hcl2 * run go generate for mapstructure-to-hcl2 * remove struct-markdown and mapstructure-to-hcl2 * vendor vendors
18 lines
1.1 KiB
Plaintext
18 lines
1.1 KiB
Plaintext
<!-- Code generated from the comments of the Config struct in post-processor/ucloud-import/post-processor.go; DO NOT EDIT MANUALLY -->
|
|
|
|
- `ufile_bucket_name` (string) - The name of the UFile bucket where the RAW, VHD, VMDK, or qcow2 file will be copied to for import.
|
|
This bucket must exist when the post-processor is run.
|
|
|
|
- `image_name` (string) - The name of the user-defined image, which contains 1-63 characters and only
|
|
supports Chinese, English, numbers, '-\_,.:[]'.
|
|
|
|
- `image_os_type` (string) - Type of the OS. Possible values are: `CentOS`, `Ubuntu`, `Windows`, `RedHat`, `Debian`, `Other`.
|
|
You may refer to [ucloud_api_docs](https://docs.ucloud.cn/api/uhost-api/import_custom_image) for detail.
|
|
|
|
- `image_os_name` (string) - The name of OS. Such as: `CentOS 7.2 64位`, set `Other` When `image_os_type` is `Other`.
|
|
You may refer to [ucloud_api_docs](https://docs.ucloud.cn/api/uhost-api/import_custom_image) for detail.
|
|
|
|
- `format` (string) - The format of the import image , Possible values are: `raw`, `vhd`, `vmdk`, or `qcow2`.
|
|
|
|
<!-- End of code generated from the comments of the Config struct in post-processor/ucloud-import/post-processor.go; -->
|