ceph/qa/workunits/post-file.sh
Sage Weil 82b0243ec3 qa/workunits/post-file.sh: sudo
Only root can read the key in /usr/share/...

Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-06 14:19:24 -04:00

8 lines
125 B
Bash
Executable File

#!/bin/bash -ex
what="$1"
[ -z "$what" ] && what=/etc/udev/rules.d
sudo ceph-post-file -d ceph-test-workunit $what
echo OK