mirror of
https://github.com/outbackdingo/ack-image-builder.git
synced 2026-01-27 10:18:13 +00:00
update ecs type
This commit is contained in:
@@ -6,8 +6,8 @@ This repository contains resources and configuration scripts for building a cust
|
||||
|
||||
## Supported OS
|
||||
|
||||
* CentOS 7.6/7.7/7.8/7.9
|
||||
* Aliyun Linux 2 (Alibaba Cloud Linux 2)
|
||||
* CentOS 7.6/7.7/7.8/7.9
|
||||
|
||||
## Setup
|
||||
|
||||
@@ -35,7 +35,7 @@ export RUNTIME=XXX
|
||||
export ALICLOUD_REGION=XXX
|
||||
export ALICLOUD_ACCESS_KEY=XXX
|
||||
export ALICLOUD_SECRET_KEY=XXX
|
||||
packer build examples/ack-optimized-os-1.20.json
|
||||
packer build examples/ack-optimized-os-1.18.json
|
||||
```
|
||||
NOTE: `RUNTIME` only support `docker` and `containerd`
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"region": "cn-hangzhou",
|
||||
"image_name": "test_image{{timestamp}}",
|
||||
"source_image": "aliyun_2_1903_x64_20G_alibase_20210120.vhd",
|
||||
"instance_type": "ecs.g6.large",
|
||||
"instance_type": "ecs.g6.2xlarge",
|
||||
"access_key": "{{env `ALICLOUD_ACCESS_KEY`}}",
|
||||
"secret_key": "{{env `ALICLOUD_SECRET_KEY`}}"
|
||||
},
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"region": "cn-hangzhou",
|
||||
"image_name": "test_image{{timestamp}}",
|
||||
"source_image": "centos_7_9_x64_20G_alibase_20210128.vhd",
|
||||
"instance_type": "ecs.g6.large",
|
||||
"instance_type": "ecs.g6.2xlarge",
|
||||
"vpc_id": "vpc-xxxxxx",
|
||||
"vswitch_id": "vsw-xxxxxx",
|
||||
"access_key": "{{env `ALICLOUD_ACCESS_KEY`}}",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"region": "cn-hangzhou",
|
||||
"image_name": "test_image{{timestamp}}",
|
||||
"source_image": "centos_7_9_x64_20G_alibase_20210128.vhd",
|
||||
"instance_type": "ecs.g6.large",
|
||||
"instance_type": "ecs.g6.2xlarge",
|
||||
"access_key": "{{env `ALICLOUD_ACCESS_KEY`}}",
|
||||
"secret_key": "{{env `ALICLOUD_SECRET_KEY`}}"
|
||||
},
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"variables": {
|
||||
"image_name": "ack-optimized_image-1.18-{{timestamp}}",
|
||||
"source_image": "aliyun_2_1903_x64_20G_alibase_20210120.vhd",
|
||||
"instance_type": "ecs.g6.large",
|
||||
"instance_type": "ecs.g6.2xlarge",
|
||||
"region": "{{env `ALICLOUD_REGION`}}",
|
||||
"access_key": "{{env `ALICLOUD_ACCESS_KEY`}}",
|
||||
"secret_key": "{{env `ALICLOUD_SECRET_KEY`}}",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"variables": {
|
||||
"image_name": "ack-optimized_image-1.20-{{timestamp}}",
|
||||
"source_image": "aliyun_2_1903_x64_20G_alibase_20210120.vhd",
|
||||
"instance_type": "ecs.g6.large",
|
||||
"instance_type": "ecs.g6.2xlarge",
|
||||
"region": "{{env `ALICLOUD_REGION`}}",
|
||||
"access_key": "{{env `ALICLOUD_ACCESS_KEY`}}",
|
||||
"secret_key": "{{env `ALICLOUD_SECRET_KEY`}}",
|
||||
|
||||
Reference in New Issue
Block a user