]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart.sh: fix -k
authorYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 19 Nov 2009 00:20:18 +0000 (16:20 -0800)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 19 Nov 2009 00:20:18 +0000 (16:20 -0800)
src/vstart.sh

index 62fb83115ec5ad6a204f99ff0eda36f2403e43e4..534b69c5ad0fb7352ac2816d6b9ade0192627237 100755 (executable)
@@ -334,8 +334,8 @@ EOF
        mon = "allow rwx"
        osd = "allow rwx"
 EOF
-                   $SUDO $CEPH_BIN/authtool --gen-key --name=osd.$osd --caps=$osd_caps $key_fn
                fi
+               $SUDO $CEPH_BIN/authtool --gen-key --name=osd.$osd --caps=$osd_caps $key_fn
                echo adding osd$osd key to auth repository
                $SUDO $CEPH_ADM -i $key_fn auth add osd.$osd
            fi