Create a test flavor for the pingtest VM
The m1.demo flavor is created arbitrarily by the client but we want to remove the post-deployment initialization so we switch the pingtest VM flavor to one we create from the template itself. Change-Id: Iec0a64b24813536dd591362f1aefe46135a5a16e
This commit is contained in:
parent
7286784100
commit
056c167aac
|
@ -14,10 +14,6 @@ parameters:
|
|||
type: string
|
||||
description: Name of image to use for servers
|
||||
default: 'pingtest_image'
|
||||
flavor:
|
||||
type: string
|
||||
description: Flavor to use for servers
|
||||
default: 'm1.tiny'
|
||||
public_net_name:
|
||||
type: string
|
||||
default: 'nova'
|
||||
|
@ -88,7 +84,7 @@ resources:
|
|||
block_device_mapping:
|
||||
- device_name: vda
|
||||
volume_id: { get_resource: volume1 }
|
||||
flavor: { get_param: flavor }
|
||||
flavor: { get_resource: test_flavor }
|
||||
key_name: { get_param: key_name }
|
||||
networks:
|
||||
- port: { get_resource: server1_port }
|
||||
|
@ -120,6 +116,12 @@ resources:
|
|||
- remote_ip_prefix: 0.0.0.0/0
|
||||
protocol: icmp
|
||||
|
||||
test_flavor:
|
||||
type: OS::Nova::Flavor
|
||||
properties:
|
||||
ram: 512
|
||||
vcpus: 1
|
||||
|
||||
outputs:
|
||||
server1_private_ip:
|
||||
description: IP address of server1 in private network
|
||||
|
|
Loading…
Reference in New Issue