Skip to content

Commit 410160d

Browse files
committed
fix control root volume upgrade logic
1 parent a0b767d commit 410160d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/cluster_infra/templates/resources.tf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ resource "openstack_compute_instance_v2" "control" {
130130

131131
# root device:
132132
block_device {
133-
uuid = "{{ cluster_image }}"
133+
uuid = "{{ cluster_previous_image | default(cluster_image) }}"
134134
source_type = "image"
135135
destination_type = "local"
136136
boot_index = 0

0 commit comments

Comments
 (0)