On Mon, Aug 21, 2017 at 4:11 PM, Ilya Dryomov <idryomov@xxxxxxxxx> wrote: > On Mon, Aug 21, 2017 at 2:53 PM, Stéphane Klein > <contact@xxxxxxxxxxxxxxxxxxx> wrote: >> Hi, >> >> I look for environment variable to configure rbd "-c" parameter and >> "--keyfile" parameter. >> >> I found nothing in http://docs.ceph.com/docs/master/man/8/rbd/ > > For -c, CEPH_CONF. > > I don't think there is an environment variable for --keyfile. There is > one for --keyring, CEPH_KEYRING, which is preferred over --keyfile. > > This applies to all ceph commands, so not really rbd specific, but > probably worth adding to the man page. Just remembered, CEPH_ARGS can be used for --keyfile and all other options: CEPH_ARGS='--keyfile <path>' Thanks, Ilya _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com