Only ask for swift_hash if swift is enabled.
This commit is contained in:
parent
df5e9949aa
commit
b2857e4df6
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