From ab75f4becfb839e8bab5f602bb414a8f4eab090e Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Wed, 2 Nov 2011 01:03:29 +0100 Subject: [PATCH] Ask for SWIFT_HASH. --- stack.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stack.sh b/stack.sh index 9343f22..051be94 100755 --- a/stack.sh +++ b/stack.sh @@ -284,6 +284,9 @@ SWIFT_LOOPBACK_DISK_SIZE=${SWIFT_LOOPBACK_DISK_SIZE:-1000000} # Default partition power size (bigger is slower) SWIFT_PARTITION_POWER_SIZE=${SWIFT_PARTITION_POWER_SIZE:-9} +# Swift hash, this must be unique +read_password SWIFT_HASH "ENTER A RANDOM HASH SHARED BETWEEN ALL PROCESSES." + # Keystone # -------- @@ -667,7 +670,6 @@ EOF # Generate swift.conf, we need to have the swift-hash being random # and unique. - swift_hash=$(od -t x8 -N 8 -A n /etc/swift/swift.conf # We need to generate a object/account/proxy configuration