Recommended cephadm bootstrap command options

Use a basic set of command options for cephadm bootstrap. You can configure additional options after your initial cluster is up and running.

The cephadm bootstrap command has multiple options that allow you to specify file locations, configure ssh settings, set passwords, and perform other initial configuration tasks.

Specify the recommended options by using the following command:

cephadm bootstrap --ssh-user USER_NAME --mon-ip IP_ADDRESS --allow-fqdn-hostname --registry-json REGISTRY_JSON
For example,
[root@host01 ~]# cephadm bootstrap --ssh-user ceph --mon-ip 10.10.128.68 --allow-fqdn-hostname --registry-json /etc/mylogin.json

For non-root users, see Creating an Ansible user with sudo access and Enabling password-less SSH for Ansible for more details.