mirror of
https://github.com/outbackdingo/ack-image-builder.git
synced 2026-01-27 10:18:13 +00:00
update os version
This commit is contained in:
22
README.md
22
README.md
@@ -6,7 +6,7 @@ This repository contains resources and configuration scripts for building a cust
|
||||
|
||||
## Supported OS
|
||||
|
||||
* CentOS 7.6/7.7
|
||||
* CentOS 7.6/7.7/7.8/7.9
|
||||
* Aliyun Linux 2 (Alibaba Cloud Linux 2)
|
||||
|
||||
## Setup
|
||||
@@ -15,16 +15,6 @@ You must have [Packer](https://www.packer.io/) installed on your local system. F
|
||||
|
||||
For more information, see [Alibaba Cloud builder](https://www.packer.io/docs/builders/alicloud-ecs.html) in the Packer documentation.
|
||||
|
||||
## Building the OS Image
|
||||
|
||||
Execute following scripts in your shell
|
||||
|
||||
```
|
||||
export ALICLOUD_ACCESS_KEY=XXX
|
||||
export ALICLOUD_SECRET_KEY=XXX
|
||||
packer build examples/ack-centos.json
|
||||
```
|
||||
|
||||
## Build ACK-Optimized-OS image
|
||||
|
||||
Execute following scripts in your shell
|
||||
@@ -35,6 +25,16 @@ export ALICLOUD_SECRET_KEY=XXX
|
||||
packer build examples/ack-optimized-os.json
|
||||
```
|
||||
|
||||
## Building the OS Image
|
||||
|
||||
Execute following scripts in your shell
|
||||
|
||||
```
|
||||
export ALICLOUD_ACCESS_KEY=XXX
|
||||
export ALICLOUD_SECRET_KEY=XXX
|
||||
packer build examples/ack-centos.json
|
||||
```
|
||||
|
||||
## Building in the kubernetes
|
||||
|
||||
```shell script
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"variables": {
|
||||
"region": "cn-hangzhou",
|
||||
"image_name": "test_image{{timestamp}}",
|
||||
"source_image": "aliyun_2_1903_x64_20G_alibase_20200904.vhd",
|
||||
"source_image": "aliyun_2_1903_x64_20G_alibase_20210120.vhd",
|
||||
"instance_type": "ecs.g6.large",
|
||||
"access_key": "{{env `ALICLOUD_ACCESS_KEY`}}",
|
||||
"secret_key": "{{env `ALICLOUD_SECRET_KEY`}}"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"variables": {
|
||||
"region": "cn-hangzhou",
|
||||
"image_name": "test_image{{timestamp}}",
|
||||
"source_image": "centos_7_7_x64_20G_alibase_20200426.vhd",
|
||||
"source_image": "centos_7_9_x64_20G_alibase_20210128.vhd",
|
||||
"instance_type": "ecs.g6.large",
|
||||
"vpc_id": "vpc-xxxxxx",
|
||||
"vswitch_id": "vsw-xxxxxx",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"variables": {
|
||||
"region": "cn-hangzhou",
|
||||
"image_name": "test_image{{timestamp}}",
|
||||
"source_image": "centos_7_7_x64_20G_alibase_20200426.vhd",
|
||||
"source_image": "centos_7_9_x64_20G_alibase_20210128.vhd",
|
||||
"instance_type": "ecs.g6.large",
|
||||
"access_key": "{{env `ALICLOUD_ACCESS_KEY`}}",
|
||||
"secret_key": "{{env `ALICLOUD_SECRET_KEY`}}"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"variables": {
|
||||
"region": "{{env `REGION`}}",
|
||||
"image_name": "test_image{{timestamp}}",
|
||||
"source_image": "centos_7_7_x64_20G_alibase_20200426.vhd",
|
||||
"source_image": "centos_7_9_x64_20G_alibase_20210128.vhd",
|
||||
"instance_type": "ecs.g6.large",
|
||||
"access_key": "{{env `ALICLOUD_ACCESS_KEY`}}",
|
||||
"secret_key": "{{env `ALICLOUD_SECRET_KEY`}}",
|
||||
@@ -42,4 +42,4 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"variables": {
|
||||
"region": "cn-hangzhou",
|
||||
"image_name": "ack-optimized_image{{timestamp}}",
|
||||
"source_image": "aliyun_2_1903_x64_20G_alibase_20200904.vhd",
|
||||
"source_image": "aliyun_2_1903_x64_20G_alibase_20210120.vhd",
|
||||
"instance_type": "ecs.g6.large",
|
||||
"access_key": "{{env `ALICLOUD_ACCESS_KEY`}}",
|
||||
"secret_key": "{{env `ALICLOUD_SECRET_KEY`}}"
|
||||
|
||||
Reference in New Issue
Block a user