Browse code

Fix SWIFT_HASH_PREFIX variable.

Chmouel Boudjnah authored on 2011/11/03 00:19:16
Showing 1 changed files
... ...
@@ -655,7 +655,7 @@ if [[ "$ENABLED_SERVICES" =~ "swift" ]];then
655 655
 
656 656
    # Generate swift.conf, we need to have the swift-hash being random
657 657
    # and unique.
658
-   sed -e "s/%SWIFT_HASH%/$swift_hash/" $FILES/swift.conf > /etc/swift/swift.conf
658
+   sed -e "s/%SWIFT_HASH%/$SWIFT_HASH/" $FILES/swift.conf > /etc/swift/swift.conf
659 659
 
660 660
    # We need to generate a object/account/proxy configuration
661 661
    # emulating 4 nodes on different ports we have a litle function