]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mkcephfs.in: use 32 chars for mktemp to be more unique 156/head
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 27 Mar 2013 15:50:12 +0000 (16:50 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 27 Mar 2013 15:50:12 +0000 (16:50 +0100)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/mkcephfs.in

index 92d657259ef703d2165c5accf53614d7f267ffa1..56e73ca780e7bd5023a58deee1433ca696b43daf 100644 (file)
@@ -476,7 +476,7 @@ if [ $allhosts -eq 1 ]; then
        check_host || continue
 
        if [ -n "$ssh" ]; then
-           rdir=`mktemp -u /tmp/mkfs.ceph.XXXXXXXXXXXXXXXX` || exit 1
+           rdir=`mktemp -u /tmp/mkfs.ceph.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX` || exit 1
            echo pushing conf and monmap to $host:$rdir
            do_cmd "mkdir -p $rdir"
            scp -q $dir/conf $host:$rdir
@@ -524,7 +524,7 @@ if [ $allhosts -eq 1 ]; then
        check_host || continue
        
        if [ -n "$ssh" ]; then
-           rdir=`mktemp -u /tmp/mkfs.ceph.XXXXXXXXXXXXXXXX` || exit 1
+           rdir=`mktemp -u /tmp/mkfs.ceph.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX` || exit 1
            echo pushing everything to $host
            ssh $host mkdir -p $rdir
            scp -q $dir/* $host:$rdir