名词 | 说明 |
Volcengine Image Builder(Builder) | 火山引擎自定义镜像生成器,用于指定Packer需要使用的配置器、自定义镜像创建过程使用的配置信息。 |
Provisioner |
参数名 | 说明 | 取值样例 |
packer | 本模块用于配置Packer本身行为(例如:指定当前模板所需安装的所有插件)。 | - |
source | - | |
L region | cn-beijing | |
L target_image_name | 生成镜像的名称。 | packer_test |
L source_image_id | image-38deyjkaxxxxx | |
L instance_type | ecs.g2i.large | |
L system_disk_size | 系统盘大小,单位GiB。 | 50 |
L system_disk_type | 系统盘类型。 | ESSD_PL0 |
L associate_public_ip_address | 是否为临时实例关联公网IP,取值:
注意 当本参数传入true时,支持:
| true |
L public_ip_id | 需要使用的已有公网IP的ID。 | eip-13frvze8oo8hs3xxxxxx |
L public_ip_band_width | 临时公网IP带宽上限。
说明 本参数仅在associate_public_ip_address参数值为true,且public_ip_id参数值为空时生效。 | 1 |
L temporary_key_pair_name | 设置连接临时实例的临时密钥对名称,系统将自动创建该密钥对并用于临时实例。 | packer-key |
L ssh_username | root | |
build | - |