uptade alyuin doc with existing image & add a note on how to find out about new ones

This commit is contained in:
Adrien Delorme 2018-09-26 11:43:49 +02:00
parent d599056dc4
commit 10c82a5779

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.