solar/docs/libvirt.md
Bogdan Dobrelya 53b6691f05 Fix docs for the libvirt setup case
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Co-authored-by: Lukasz Oles <loles@mirantis.com>
2015-10-13 12:29:11 +02:00

857 B

Using Vagrant with livbirt

First install libvirt plugin

vagrant plugin install vagrant-libvirt

If you do not have already vagrant box for VirtualBox, install it:

vagrant box add solar-project/solar-master

To use this box in libvirt you need to convert it using vagrant-mutate plugin:

vagrant plugin install vagrant-mutate
vagrant mutate solar-project/solar-master libvirt

You can also change sync_type in your custom vagrant-settings.yaml file copied from the vagrant-settings.yaml_defaults.

Use solar

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.