Hi David,

Here's an example that includes the availability zone. You can fill the 
av_zone_name with the same that you fill on Nova.

Thanks,
\Franza

...
parameters:
  av_zone_name:
    type: string
    description: Name of the compute node where we are creating the VM.
...
  myserver:
    type: OS::Nova::Server
    depends_on:
      - myvolume
    properties:
      name:
        str_replace:
          template: $stack_name$_server
          params:
            $stack_name$: { get_param: "OS::stack_name" }
      flavor: { get_param: flavor_name }
      image: { get_param: image_name }
      key_name: { get_param: key_name }
      # Next property needs admin privileges:
      availability_zone: { get_param: av_zone_name }
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to