aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCian O'Driscoll <cian@hp.com>2014-03-21 10:46:18 +0000
committerCian O'Driscoll <cian@hp.com>2014-03-21 10:48:29 +0000
commite1822ebdd13768cbd9dc82bbd475a2bb722ee3c5 (patch)
treeec403acb12569f8e609f763a7e44a77498cc6e18
parentb8ba27916819e3e805c76be69f251a04be227e29 (diff)
Adding image update policy to undercloud template
Allows image policy to be specified when updating the undercloud stack. This enables the preservation of persistent ephemeral disks. Change-Id: Id7bc0a72ae1737d2fdadb3f47006bd0cfb0bc42f Closes-Bug: #1295616
-rw-r--r--undercloud-source.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/undercloud-source.yaml b/undercloud-source.yaml
index f18612c8..3e053af5 100644
--- a/undercloud-source.yaml
+++ b/undercloud-source.yaml
@@ -41,6 +41,11 @@ 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
undercloudImage:
Default: undercloud
Type: String
@@ -232,6 +237,8 @@ Resources:
Ref: Flavor
key_name:
Ref: KeyName
+ image_update_policy:
+ Ref: ImageUpdatePolicy
Metadata:
os-collect-config:
cfn: