VM creation OK!
This commit is contained in:
parent
aec00ed62f
commit
c64a50bb5e
|
@ -1,27 +1,27 @@
|
|||
-----BEGIN RSA PRIVATE KEY-----
|
||||
MIIEowIBAAKCAQEAqS/4Caje6o3Bxekv0bZM22oqtefn7hXWLLxOQJKfgHEHC24q
|
||||
uimcZmFhw+ZbWvKyVC9qJbIFbdb5Lpok4RDwrbPx8JGS1nXCVgcmSbk4ssddLeHr
|
||||
e7v7SP/foc2QmC4mKPYp85HNYDCXBMaMMRiwDlg4LgTIWARRQXeD1LDbnInPC+8t
|
||||
Xo7PRBlkUysBxzBrQTVa9mWf5Fwix2ND4aoh7S1p4EDbcqvIb62L0iJDYsVWs8dt
|
||||
2veUetNkw7ZXRb+Iz+tkxXG/I/7KZDxdcDYmtTmG1pVyQ0PAgfIfQKUYnCdAv0Pm
|
||||
o+u1/UQc1+Rsj6CaM2T2ZLsn8cx3Wv8ra7UjyQIDAQABAoIBAHbeyykOS0EFRGYn
|
||||
Rn/T1AA9gbC5NY1kLkzUKS7ZVdPKliaDyuVtowOT3DrluL4X0w+vGKdPgtz/s6f4
|
||||
iXzQiCmjSpO51C92IYqMD2yxBJMn2+IG34raMt3BWYC3i6ZAlnMlMah+govY1+J1
|
||||
Fb7RF7Gcbix3E8QzlFuo+ykO8d3zF/Qn304A5M0E1s6Za+RlQXc2NRMCI9DnmS86
|
||||
hNEpr0GrotapbleTIoR+ORBOm/vfwsoB4v/IQoBphE5gU+XzNjsU9IzdryfWK5hG
|
||||
pWtgA+r1NwHOIr0VCcDZgO18Z+QqVkP7v5fEtHugK2HIZnfWGjo4A+hmwlkbsGyx
|
||||
PMdmC/kCgYEA4Vzi497fakHqGb4eDIHVpBo/CvihvMfJA+aay9hh+B2/0+t/08H4
|
||||
l+67Cbgq1lNTVgvw0V+jn09f73f5KKJyu1puisot0NHQJTbCj5MMELkETdsk4Dqc
|
||||
aOlxV5DRE/9fFi2dNbfkAkRrMJhWaghxRRqprdtur5D5KzATkewxhisCgYEAwDAO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SD3fudwL5iJGWIjWJ0gr9qB7+KyrhfPwtd2oDH6JZGNmiYDF5KzVzwy8V6Y4mqQdf6yO49 matou@catsserver-3
|
||||
|
|
38
README.md
38
README.md
|
@ -1,19 +1,19 @@
|
|||
# cephtest
|
||||
|
||||
A Vagrant libvirt kvm cluster to test Ceph distributed storage.
|
||||
|
||||
## Cluster Design
|
||||
|
||||
## Pre-flight
|
||||
|
||||
## References
|
||||
|
||||
* Ceph: http://ceph.com/
|
||||
* Vagrant: https://www.vagrantup.com/
|
||||
* Vagrant plugins:
|
||||
* vagrant-libvirt: https://github.com/vagrant-libvirt/vagrant-libvirt
|
||||
* vagrant-mutate: https://github.com/sciurus/vagrant-mutate
|
||||
* vagrant-triggers: https://github.com/emyl/vagrant-triggers
|
||||
* Bento boxes: https://app.vagrantup.com/bento
|
||||
* Libvirt: https://libvirt.org/
|
||||
* KVM: https://www.linux-kvm.org/page/Main_Page
|
||||
# cephtest
|
||||
|
||||
A Vagrant libvirt kvm cluster to test Ceph distributed storage.
|
||||
|
||||
## Cluster Design
|
||||
|
||||
## Pre-flight
|
||||
|
||||
## References
|
||||
|
||||
* Ceph: http://ceph.com/
|
||||
* Vagrant: https://www.vagrantup.com/
|
||||
* Vagrant plugins:
|
||||
* vagrant-libvirt: https://github.com/vagrant-libvirt/vagrant-libvirt
|
||||
* vagrant-mutate: https://github.com/sciurus/vagrant-mutate
|
||||
* vagrant-triggers: https://github.com/emyl/vagrant-triggers
|
||||
* Bento boxes: https://app.vagrantup.com/bento
|
||||
* Libvirt: https://libvirt.org/
|
||||
* KVM: https://www.linux-kvm.org/page/Main_Page
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
# | | |
|
||||
# | | |
|
||||
# =========================================================================================
|
||||
set -xv
|
||||
#set -xv
|
||||
|
||||
# Version
|
||||
VERSION=ceph-install-1.0-120417
|
||||
|
@ -33,9 +33,6 @@ GUEST_USER_SSH_DIR="$GUEST_USER_DIR/.ssh"
|
|||
GUEST_VAGRANT_SCRIPT_DIR="/vagrant/scripts"
|
||||
GUEST_VAGRANT_SSH_DIR="/vagrant/.ssh"
|
||||
|
||||
GUEST_IP=$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1)
|
||||
PUBLIC_NETWORK=$(echo $GUEST_IP | awk -F '.' '{print $1"."$2"."$3".0/24"}')
|
||||
|
||||
mkdir -p "$GUEST_USER_DIR/ceph-cluster"
|
||||
cd "$GUEST_USER_DIR/ceph-cluster"
|
||||
#ceph-deploy new node-admin
|
||||
|
|
|
@ -42,9 +42,6 @@ fi
|
|||
# Create user ceph-admin
|
||||
useradd -m -s /bin/bash $CEPH_ADMIN_USER
|
||||
|
||||
# Clean-up previous provisioning
|
||||
$CEPH_ADMIN_EXEC rm -f "$GUEST_USER_DIR/provision-ok"
|
||||
|
||||
# Make ceph-admin passwordless sudoer
|
||||
echo "$CEPH_ADMIN_USER ALL = (root) NOPASSWD:ALL" | tee "/etc/sudoers.d/$CEPH_ADMIN_USER"
|
||||
chmod 0440 "/etc/sudoers.d/$CEPH_ADMIN_USER"
|
||||
|
|
Loading…
Reference in New Issue