summaryrefslogtreecommitdiff
path: root/openstack-swift.configure
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2015-03-03 19:18:52 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2015-03-04 15:36:12 +0000
commit91c116cedd954d0a7bf5429868a1add39bcc3f96 (patch)
tree872238bb855ec6e93ddb9a6bd3c464777f18d646 /openstack-swift.configure
parent72b95fc1ca88c474f4563a6f514567ab1f7bfe0d (diff)
downloaddefinitions-91c116cedd954d0a7bf5429868a1add39bcc3f96.tar.gz
Add SWIFT_HASH_PATH vars to cluster morph
The deployer just needs to make these random unique values*, they must keep them secret and not lose them. So the cluster morph musn't be pushed to some public repo. * e.g. by running $ openssl rand -hex 10
Diffstat (limited to 'openstack-swift.configure')
-rw-r--r--openstack-swift.configure2
1 files changed, 2 insertions, 0 deletions
diff --git a/openstack-swift.configure b/openstack-swift.configure
index 40e20bb7..b6451f9e 100644
--- a/openstack-swift.configure
+++ b/openstack-swift.configure
@@ -24,6 +24,8 @@ s/##STACK_ID/$STACK_ID/g
s/##KEYSTONE_INTERNAL_URL##/$KEYSTONE_INTERNAL_URL/g
s/##SWIFT_ADMIN_PASSWORD##/$SWIFT_ADMIN_PASSWORD/g
s/##MANAGEMENT_INTERFACE_IP_ADDRESS##/$MANAGEMENT_INTERFACE_IP_ADDRESS/g
+s/##SWIFT_HASH_PATH_PREFIX##/$SWIFT_HASH_PATH_PREFIX/g
+s/##SWIFT_HASH_PATH_SUFFIX##/$SWIFT_HASH_PATH_SUFFIX/g
EOF
sed -f "$ROOT"/etc/openstack-swift-setup.sed -i \