Skip to content

Commit 0fca729

Browse files
authored
Merge pull request #20 from stackhpc/non-boot-volume
When we ask for a volume, we probably want to use it separately
2 parents b74145a + d1346c5 commit 0fca729

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

files/resources/instance-w-volume.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,19 @@ resources:
6060
instance_volume:
6161
type: OS::Cinder::Volume
6262
properties:
63-
image: { get_param: image }
6463
size: { get_param: volume_size }
6564
volume_type: { get_param: volume_type }
6665

6766
instance:
6867
type: OS::Nova::Server
6968
properties:
7069
name: { get_param: name }
70+
image: { get_param: image }
7171
flavor: { get_param: flavor }
7272
block_device_mapping_v2:
73-
- delete_on_termination: False
73+
- delete_on_termination: True
7474
volume_id: { get_resource: instance_volume }
75+
boot_index: -1
7576
key_name: { get_param: key_name }
7677
# FIXME: I would like to do this but Heat does not parse it:
7778
#networks: { get_param: [ group_node_ports, {get_param: node_idx} ] }

0 commit comments

Comments
 (0)