default: "0"
vm_flavor:
type: string
- default: 1 GB General Purpose v1
+ default: v1-standard-1
description: OpenStack Flavor to use
vm_image:
type: string
type: "OS::Nova::Server"
properties:
flavor: {get_param: vm_flavor}
- image: {get_param: vm_image}
+ block_device_mapping_v2:
+ - image: {get_param: vm_image}
+ delete_on_termination: true
+ volume_size: 40
name:
str_replace:
template: SILO-JOB_NAME-GROUP-VM_TYPE-INDEX
str_split:
- ' - '
- {get_param: vm_image}
- - 1
+ - 2
"GROUP": {get_param: group}
"INDEX": {get_param: index}
networks:
- - network: RC-ODL
+ - network: odlci
key_name: {get_param: ssh_key}
user_data: |
#!/bin/bash
outputs:
ip:
description: IP address of the instance
- value: {get_attr: [instance, networks, RC-ODL, 0]}
+ value: {get_attr: [instance, networks, odlci, 0]}