3a4931b allows ceph cli to use '-' to denote stdin/stdout, so use it
instead of /dev/fd/0.
Signed-off-by: Kefu Chai <kchai@redhat.com>
'--cluster', cluster,
'--name', 'client.bootstrap-osd',
'--keyring', keyring,
- '-i', '/dev/fd/0',
+ '-i', '-',
'osd', 'new',
fsid,
] + id_arg,
'--cluster', cluster,
'--name', 'client.bootstrap-osd',
'--keyring', bootstrap,
- '-i', '/dev/fd/0',
+ '-i', '-',
'osd', 'new', self.args.osd_uuid,
] + id_arg,
secrets.get_json()