Fix docs for the libvirt setup case

Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Co-authored-by: Lukasz Oles <loles@mirantis.com>
This commit is contained in:
Bogdan Dobrelya 2015-10-09 10:38:28 +02:00
parent 22b62b4dff
commit 53b6691f05

View File

@ -9,20 +9,26 @@ vagrant plugin install vagrant-libvirt
If you do not have already vagrant box for VirtualBox, install it: If you do not have already vagrant box for VirtualBox, install it:
```bash ```bash
vagrant box add cgenie/solar-master vagrant box add solar-project/solar-master
``` ```
To use this box in libvirt you need to convert it using `vagrant-mutate` plugin: To use this box in libvirt you need to convert it using `vagrant-mutate` plugin:
```bash ```bash
vagrant plugin install vagrant-mutate vagrant plugin install vagrant-mutate
vagrant mutate cgenie/solar-master libvirt vagrant mutate solar-project/solar-master libvirt
``` ```
You can also change `sync_type` in your custom `vagrant-settings.yml` file. You can also change `sync_type` in your custom `vagrant-settings.yaml` file
copied from the `vagrant-settings.yaml_defaults`.
# Use solar # Use solar
``` bash ``` bash
vagrant up --provider libvirt vagrant up --provider libvirt
``` ```
(TODO automation required) After that, copy (or create, if missing) the ssh
private keys for nodes to the `.vagrant/machines/solar-dev*/virtualbox` dirs.
And make sure the public keys are listed in the `authorized_keys` files for the
`solar-dev*` nodes.