]>
git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/ci/cephadm/bootstrap-cluster.sh
3 export PATH
=/root
/bin
:$PATH
6 cp /mnt
/{{ ceph_dev_folder
}}/src
/cephadm
/cephadm
/root
/bin
/cephadm
7 chmod +x
/root
/bin
/cephadm
9 mon_ip
=$
(ifconfig eth0 |
grep 'inet ' |
awk '{ print $2}')
11 cephadm bootstrap
--mon-ip $mon_ip --initial-dashboard-password {{ admin_password
}} --allow-fqdn-hostname --dashboard-password-noupdate --shared_ceph_folder /mnt
/{{ ceph_dev_folder
}}
13 {% for number
in range
(1, nodes
) %}
14 ssh-copy-id
-f -i /etc
/ceph
/ceph.pub
-o StrictHostKeyChecking
=no root@
{{ prefix
}}-node-0{{ number
}}.
{{ domain
}}