remove replicated ack-centos.json file

Signed-off-by: Yilong Ren <yilong.ryl@alibaba-inc.com>
This commit is contained in:
Yilong Ren
2020-11-20 10:05:54 +08:00
parent 148ec2f36b
commit 027e247d71
2 changed files with 1 additions and 39 deletions

View File

@@ -22,7 +22,7 @@ Execute following scripts in your shell
```
export ALICLOUD_ACCESS_KEY=XXX
export ALICLOUD_SECRET_KEY=XXX
packer build ack-centos.json
packer build examples/ack-centos.json
```
## Building in the kubernetes

View File

@@ -1,38 +0,0 @@
{
"variables": {
"region": "cn-hangzhou",
"image_name": "test_image{{timestamp}}",
"source_image": "centos_7_7_x64_20G_alibase_20200426.vhd",
"instance_type": "ecs.g6.large",
"access_key": "{{env `ALICLOUD_ACCESS_KEY`}}",
"secret_key": "{{env `ALICLOUD_SECRET_KEY`}}"
},
"builders": [
{
"type": "alicloud-ecs",
"access_key": "{{user `access_key`}}",
"secret_key": "{{user `secret_key`}}",
"region": "{{user `region`}}",
"image_name": "{{user `image_name`}}",
"source_image": "{{user `source_image`}}",
"ssh_username": "root",
"instance_type": "{{user `instance_type`}}",
"skip_image_validation": "true",
"io_optimized": "true"
}
],
"provisioners": [
{
"type": "shell",
"scripts": [
"scripts/updateKernel.sh",
"scripts/reboot.sh",
"scripts/cleanUpKerneles.sh",
"config/default.sh",
"scripts/updateDNS.sh",
"scripts/verify.sh"
],
"expect_disconnect": true
}
]
}