@@ -249,7 +249,7 @@ resource "openstack_compute_keypair_v2" "cluster_keypair" {
249
249
250
250
resource " openstack_compute_instance_v2" " login" {
251
251
name = " {{ cluster_name }}-login-0"
252
- image_id = " {{ cluster_previous_image | default( cluster_image) }}"
252
+ image_id = " {{ cluster_image }}"
253
253
{% if login_flavor_name is defined %}
254
254
flavor_name = " {{ login_flavor_name }}"
255
255
{% else %}
@@ -262,7 +262,7 @@ resource "openstack_compute_instance_v2" "login" {
262
262
263
263
# root device:
264
264
block_device {
265
- uuid = " {{ cluster_previous_image | default( cluster_image) }}"
265
+ uuid = " {{ cluster_image }}"
266
266
source_type = " image"
267
267
{% if cluster_use_root_volumes is defined and cluster_use_root_volumes %}
268
268
volume_size = {{ cluster_root_volume_size | default( " 20" ) }}
@@ -298,7 +298,7 @@ resource "openstack_compute_instance_v2" "login" {
298
298
299
299
resource " openstack_compute_instance_v2" " control" {
300
300
name = " {{ cluster_name }}-control-0"
301
- image_id = " {{ cluster_previous_image | default( cluster_image) }}"
301
+ image_id = " {{ cluster_image }}"
302
302
{% if control_flavor_name is defined %}
303
303
flavor_name = " {{ control_flavor_name }}"
304
304
{% else %}
@@ -311,7 +311,7 @@ resource "openstack_compute_instance_v2" "control" {
311
311
312
312
# root device:
313
313
block_device {
314
- uuid = " {{ cluster_previous_image | default( cluster_image) }}"
314
+ uuid = " {{ cluster_image }}"
315
315
source_type = " image"
316
316
{% if cluster_use_root_volumes is defined and cluster_use_root_volumes %}
317
317
volume_size = {{ cluster_root_volume_size | default( " 20" ) }}
@@ -373,7 +373,7 @@ resource "openstack_compute_instance_v2" "{{ partition.name }}" {
373
373
count = {{ partition.count }}
374
374
375
375
name = " {{ cluster_name }}-compute-{{ partition.name }}-${count.index}"
376
- image_id = " {{ cluster_previous_image | default( cluster_image) }}"
376
+ image_id = " {{ cluster_image }}"
377
377
{% if ' flavor_name' in partition %}
378
378
flavor_name = " {{ partition.flavor_name }}"
379
379
{% else %}
@@ -386,7 +386,7 @@ resource "openstack_compute_instance_v2" "{{ partition.name }}" {
386
386
387
387
# root device:
388
388
block_device {
389
- uuid = " {{ cluster_previous_image | default( cluster_image) }}"
389
+ uuid = " {{ cluster_image }}"
390
390
source_type = " image"
391
391
{% if cluster_use_root_volumes is defined and cluster_use_root_volumes %}
392
392
volume_size = {{ cluster_root_volume_size | default( " 20" ) }}
0 commit comments