Merge pull request #6766 from hashicorp/aliyun_notfound_image

uptade alyuin doc with existing image & add a note on how to find new ones
This commit is contained in:
Adrien Delorme 2018-09-26 12:36:22 +02:00 committed by GitHub
commit 3325bfe21a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -211,7 +211,7 @@ Here is a basic example for Alicloud.
"secret_key":"{{user `secret_key`}}",
"region":"cn-beijing",
"image_name":"packer_test2",
"source_image":"centos_7_2_64_40G_base_20170222.vhd",
"source_image":"centos_7_04_64_20G_alibase_201701015.vhd",
"ssh_username":"root",
"instance_type":"ecs.n1.tiny",
"io_optimized":"true",
@ -227,6 +227,9 @@ Here is a basic example for Alicloud.
}
```
~> Note: Images can become deprecated after a while; run
`aliyun ecs DescribeImages` to find one that exists.
See the
[examples/alicloud](https://github.com/hashicorp/packer/tree/master/examples/alicloud)
folder in the packer project for more examples.