Browse code

Merge pull request #180 from chmouel/swift-make-work-on-rerun

Force creation of the symlink.

Jesse Andrews authored on 2011/11/12 03:55:41
Showing 1 changed files
... ...
@@ -691,7 +691,7 @@ if [[ "$ENABLED_SERVICES" =~ "swift" ]]; then
691 691
 
692 692
    # swift-init has a bug using /etc/swift until bug #885595 is fixed
693 693
    # we have to create a link
694
-   sudo ln -s ${SWIFT_CONFIG_LOCATION} /etc/swift
694
+   sudo ln -sf ${SWIFT_CONFIG_LOCATION} /etc/swift
695 695
 
696 696
    # Swift use rsync to syncronize between all the different
697 697
    # partitions (which make more sense when you have a multi-node