Merge pull request #245 from bogdando/bogdando/fix_libvirt_docs

Fix docs for the libvirt setup case
This commit is contained in:
Jędrzej Nowak 2015-10-13 14:20:46 +02:00
commit b3f9c9a514

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.