Browse code

Force creation of the symlink.

It would allow to not fail when we run stack.sh again.

Chmouel Boudjnah authored on 2011/11/11 07:46:08
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