diff options
-rw-r--r-- | nova-compute-instance.yaml | 6 | ||||
-rw-r--r-- | overcloud-source.yaml | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/nova-compute-instance.yaml b/nova-compute-instance.yaml index 2aadea8d..e10b1dc5 100644 --- a/nova-compute-instance.yaml +++ b/nova-compute-instance.yaml @@ -14,6 +14,10 @@ Parameters: Description: Use this flavor Type: String Default: baremetal + ImageUpdatePolicy: + Default: 'REPLACE' + Description: What policy to use when reconstructing instances. REBUILD for rebuilds, REBUILD_PRESERVE_EPHEMERAL to preserve /mnt. + Type: String NovaImage: Type: String Default: overcloud-compute @@ -81,6 +85,8 @@ Resources: Properties: image: {Ref: NovaImage} + image_update_policy: + Ref: ImageUpdatePolicy flavor: {Ref: Flavor} key_name: {Ref: KeyName} Metadata: diff --git a/overcloud-source.yaml b/overcloud-source.yaml index 57a5560e..754dbbee 100644 --- a/overcloud-source.yaml +++ b/overcloud-source.yaml @@ -31,6 +31,10 @@ Parameters: Description: The password for the Heat service account, used by the Heat services. Type: String NoEcho: true + ImageUpdatePolicy: + Default: 'REPLACE' + Description: What policy to use when reconstructing instances. REBUILD for rebuilds, REBUILD_PRESERVE_EPHEMERAL to preserve /mnt. + Type: String KeyName: Default: default Description: Name of an existing EC2 KeyPair to enable SSH access to the instances @@ -317,6 +321,8 @@ Resources: Properties: image: Ref: notcomputeImage + image_update_policy: + Ref: ImageUpdatePolicy flavor: Ref: Flavor key_name: |