ceph-ansible/roles/ceph-mon/templates/ceph-aliases.sh.j2

18 lines
363 B
Django/Jinja

#!/bin/bash
# Sets up handy aliases for ceph.
ceph() {
sudo {{ docker_exec_cmd }} ceph --cluster {{ cluster }} ${@}
}
radosgw-admin() {
sudo {{ docker_exec_cmd }} radosgw-admin --cluster {{ cluster }} ${@}
}
rados() {
sudo {{ docker_exec_cmd }} rados --cluster {{ cluster }} ${@}
}
rbd() {
sudo {{ docker_exec_cmd }} rbd --cluster {{ cluster }} ${@}
}