kolla/docker/swift/swift-rsyncd/extend_start.sh
James McCarthy f7b453d95b Update swift for replication issues
There are corresponding ansible changes to go with these image
changes - add nc to swift image, and create dir for lock files.

nc allows for rsync replication to easily target {{ swift_rsync_port }}

change the lock file location for swift user to access - see bug
for more details.

Change-Id: I78826aeee35601ff65cbe50932482ef2f68346ae
Closes-Bug: #1733851
2017-11-28 13:59:43 +00:00

5 lines
78 B
Bash

#!/bin/bash
sudo chown -R swift:swift /srv/node
mkdir -p /var/lib/swift/lock