From f2c1a712e82ac1d347b0fb6526c79471a9ef8d55 Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Wed, 29 Jan 2014 21:38:14 +0000 Subject: [PATCH] Copy container-sync-realms.conf in /etc/swift We need the new container-sync realms configuration or we will get a nasty harmless error opening file at swift proxy startup. Change-Id: If939da305dcb9403c418219032ac6b50b0099bd3 Closes-Bug: 1274295 --- lib/swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/swift b/lib/swift index 37b630c3fa..baa03ec5b8 100644 --- a/lib/swift +++ b/lib/swift @@ -258,6 +258,8 @@ function configure_swift() { SWIFT_CONFIG_PROXY_SERVER=${SWIFT_CONF_DIR}/proxy-server.conf cp ${SWIFT_DIR}/etc/proxy-server.conf-sample ${SWIFT_CONFIG_PROXY_SERVER} + cp ${SWIFT_DIR}/etc/container-sync-realms.conf-sample ${SWIFT_CONF_DIR}/container-sync-realms.conf + iniuncomment ${SWIFT_CONFIG_PROXY_SERVER} DEFAULT user iniset ${SWIFT_CONFIG_PROXY_SERVER} DEFAULT user ${STACK_USER}