]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Update README.md 447/head
authorLuis Pabón <lpabon@redhat.com>
Thu, 3 Dec 2015 03:26:13 +0000 (22:26 -0500)
committerLuis Pabón <lpabon@redhat.com>
Thu, 3 Dec 2015 03:26:13 +0000 (22:26 -0500)
README.md

index fc531fff1feeb55f603ca0c557c8cc071ef05436..509779b6a7b4134ea0f206b220de1f3aaa50ee37 100644 (file)
--- a/README.md
+++ b/README.md
@@ -92,6 +92,34 @@ information about how to generate appropriate values for these variables.
 By default, ceph-common installs from Ceph repository. However, you
 can set `ceph_origin` to "distro" to install Ceph from your default repository.
 
+## Setup for Vagrant using libvirt provider
+
+* Create vagrant_variables.yml
+
+```
+$ cp vagrant_variables.yml.sample vagrant_variables.yml
+```
+
+* Edit `vagrant_variables.yml` and setup the following variables:
+
+```yml
+memory: 1024
+disks: "[ '/dev/vdb', '/dev/vdc' ]"
+vagrant_box: centos/7
+```
+
+* Create site.yml
+
+```
+$ cp site.yml.sample site.yml
+```
+
+* Create VMs
+
+```
+$ sudo vagrant up --no-provision --provider=libvirt
+$ sudo vagrant provision
+```
 
 ### For Debian based systems