diff options
author | Robert Collins <rbtcollins@hp.com> | 2013-12-17 15:26:32 +1300 |
---|---|---|
committer | Robert Collins <rbtcollins@hp.com> | 2013-12-17 15:26:32 +1300 |
commit | f6289d012740c730ac1b9b0ea8a3842f8c72149e (patch) | |
tree | 6431e6eea5aa56d45dce4c6ef9a716512eb0a94a /overcloud-source.yaml | |
parent | 3697a4ef029c1f896afbdcf1039d1aeb3761c8b2 (diff) |
Permit setting overcloud image update policies.
This is the first step towards preserving state on stack updates when the image
id has changed.
I chose REPLACE as the default value because that is the current behaviour and
we can override it from the command line.
Change-Id: I64eab51892922ab51a89a9f389457fd1ed979fb2
Diffstat (limited to 'overcloud-source.yaml')
-rw-r--r-- | overcloud-source.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
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: |