From 5ab5b2293240f7600e6b24aecfebe85f1abb1aa3 Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Tue, 1 Nov 2011 18:15:36 +0100 Subject: [PATCH] Fix variabe subst. --- stack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack.sh b/stack.sh index 3e0ea21..d4e09be 100755 --- a/stack.sh +++ b/stack.sh @@ -655,7 +655,7 @@ 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 + sed -e "s/%SWIFT_HASH%/$swift_hash/" $FILES/swift.conf > /etc/swift/swift.conf # We need to generate a object/account/proxy configuration # emulating 4 nodes on different ports we have a litle function