user_args = user_args + [ '--setuser', str(uid) ]
if gid != 0:
user_args = user_args + [ '--setgroup', str(gid) ]
+
remoto.process.run(
distro.conn,
[
user_args = user_args + [ '--setuser', str(uid) ]
if gid != 0:
user_args = user_args + [ '--setgroup', str(gid) ]
+
remoto.process.run(
distro.conn,
[
distro.conn.remote_module.create_init_path(init_path, uid, gid)
# start the mon using the address
+ pid_location = "/var/run/ceph/mon.%s.pid" % hostname
remoto.process.run(
distro.conn,
[
'ceph-mon',
'-i',
hostname,
+ '--pid-file', pid_location,
'--public-addr',
args.address,
],