If you run euca-run-instances, you will see there's an --availability-zone
options there.

euca-run-instances  [-A, --access-key <access_key> ][-A, --secret-key
                    <secret_key> ][--config <config_path>
                    ][--debug][--debugger][-h, --help][--region
<region_name>
                    ][-U, --url <url> ][--version][--euca-auth][-n,
--instance-
                    count <count> ][-g, --group <group_name> ][-k, --key
                    <keyname> ][-d, --user-data <user_data>
][--user-data-force
                    <user_data_force> ][-f, --user-data-file
<user_data_file>
                    ][--addressing <addressing> ][-t, --instance-type
                    <instance_type> ][--kernel <kernel> ][--ramdisk
<ramdisk>
                    ][-b, --block-device-mapping <block_device_mapping>
                    ][--monitor][-s, --subnet <subnet> ][-z,
--availability-zone
                    <zone> ] image_id

- Ray
Yours faithfully, Kind regards.

CIeNET Technologies (Beijing) Co., Ltd
Email: qsun01...@cienet.com.cn
Office Phone: +86-01081470088-7079
Mobile Phone: +86-13581988291



On Thu, Oct 25, 2012 at 4:13 PM, gtt116 <gtt...@126.com> wrote:

> I look around by using `nova show` and using the REST api, but can not
> find the 'availability zone' field.
> Can any one tell me how to get it ? Thanks!
>
> -gtt
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to