Merge pull request #158 from chmouel/swift-shush-question-if-not-needed
As discussed via skype, only ask for swift_hash when needed.
This commit is contained in:
commit
e1664a469b
1 changed files with 7 additions and 3 deletions
10
stack.sh
10
stack.sh
|
@ -313,9 +313,13 @@ SWIFT_LOOPBACK_DISK_SIZE=${SWIFT_LOOPBACK_DISK_SIZE:-1000000}
|
||||||
# By default we define 9 for the partition count (which mean 512).
|
# By default we define 9 for the partition count (which mean 512).
|
||||||
SWIFT_PARTITION_POWER_SIZE=${SWIFT_PARTITION_POWER_SIZE:-9}
|
SWIFT_PARTITION_POWER_SIZE=${SWIFT_PARTITION_POWER_SIZE:-9}
|
||||||
|
|
||||||
# SWIFT_HASH is a random unique string for a swift cluster that can never change.
|
# We only ask for Swift Hash if we have enabled swift service.
|
||||||
read_password SWIFT_HASH "ENTER A RANDOM SWIFT HASH."
|
if [[ "$ENABLED_SERVICES" =~ "swift" ]]; then
|
||||||
|
# SWIFT_HASH is a random unique string for a swift cluster that
|
||||||
|
# can never change.
|
||||||
|
read_password SWIFT_HASH "ENTER A RANDOM SWIFT HASH."
|
||||||
|
fi
|
||||||
|
|
||||||
# Keystone
|
# Keystone
|
||||||
# --------
|
# --------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue