Add information about libvirt provider
Change-Id: I34b1632a78b38e05a32a56369ed422e1ea346fc0 Closes-bug: 1544280
This commit is contained in:
parent
06e3069d2b
commit
e4455f902a
@ -10,6 +10,7 @@ Additional software
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
`VirtualBox <https://www.virtualbox.org/wiki/Downloads/>`_ 5.x,
|
||||
or `Libvirt <https://libvirt.org/>`_
|
||||
`Vagrant <http://www.vagrantup.com/downloads.html/>`_ 1.7.4 or higher
|
||||
|
||||
Note: Make sure that `Vagrant VirtualBox Guest plugin
|
||||
@ -95,6 +96,39 @@ Image based provisioning with Solar
|
||||
|
||||
To develop Solar we use Vagrant
|
||||
|
||||
Using Libvirt instead of Virtualbox
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Virtualbox is a default provider for Vagrant, but it's also possible to use
|
||||
another providers. It should be possible to use any of Vagrant providers. As
|
||||
for today we support Libvirt provider. It can be used only on Linux systems.
|
||||
|
||||
To use Libvirt with vagrant just run:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
vagrant up --provider libvirt
|
||||
|
||||
This will download libvirt image for vagrant.
|
||||
|
||||
In nodes definition we have hardcoded ssh keys paths, where we assume that
|
||||
Virtualbox is used. You need to copy keys to vagrant libvirt dir:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
cp /vagrant/.vagrant/machines/solar-dev1/libvirt/private_key /vagrant/.vagrant/machines/solar-dev1/virtualbox/private_key
|
||||
|
||||
Or you can change path in node transport as described in
|
||||
:ref:`FAQ <faq_different_ssh_keys>`.
|
||||
|
||||
do it for each solar-dev* machine.
|
||||
|
||||
.. note::
|
||||
|
||||
Libvirt by default is using KVM. You cannot run KVM and Virtualbox
|
||||
at the same time.
|
||||
|
||||
|
||||
Contribution
|
||||
------------
|
||||
|
||||
|
@ -12,6 +12,8 @@ Why nodes/transports have hardcoded keys, ips and other inputs ?
|
||||
|
||||
This is temporary situation, we will improve it in near future.
|
||||
|
||||
.. _faq_different_ssh_keys:
|
||||
|
||||
I want to use different SSH keys
|
||||
----------------------------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user