From ba980522331db061b7a342141d227b304caf586e Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Mon, 24 Jul 2017 11:13:19 -0500 Subject: libvirt: add documentation about SSH keypair requirements --- README_libvirt.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README_libvirt.md') diff --git a/README_libvirt.md b/README_libvirt.md index c523d83fb..b8a24d705 100644 --- a/README_libvirt.md +++ b/README_libvirt.md @@ -23,6 +23,7 @@ Install dependencies 9. Check that your `$HOME` is accessible to the qemu user² 10. Configure dns resolution on the host³ 11. Install libselinux-python +12. Ensure you have an SSH private and public keypair at `~/.ssh/id_rsa` and `~/.ssh/id_rsa.pub`⁴ #### ¹ Depending on your distribution, libvirt access may be denied by default or may require a password at each access. @@ -103,6 +104,11 @@ sudo vi /etc/NetworkManager/dnsmasq.d/libvirt_dnsmasq.conf server=/example.com/192.168.55.1 ``` +#### ⁴ Private and public keypair in ~/.ssh/id_rsa and ~/.ssh/id_rsa.pub + +This playbook uses SSH keys to communicate with the libvirt-driven virtual machines. At this time the names of those keys are fixed and cannot be changed. + + Test The Setup -------------- -- cgit v1.2.3 From 04b1c99fd2b769979adf019fe064bc4ba601ef97 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Mon, 24 Jul 2017 11:15:37 -0500 Subject: libvirt: fall back to mkisofs if genisoimage isn't available --- README_libvirt.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README_libvirt.md') diff --git a/README_libvirt.md b/README_libvirt.md index b8a24d705..1661681a0 100644 --- a/README_libvirt.md +++ b/README_libvirt.md @@ -15,7 +15,7 @@ Install dependencies 3. Install [ebtables](http://ebtables.netfilter.org/) 4. Install [qemu and qemu-system-x86](http://wiki.qemu.org/Main_Page) 5. Install [libvirt-python and libvirt](http://libvirt.org/) -6. Install [genisoimage](http://cdrkit.org/) +6. Install [genisoimage](http://cdrkit.org/) or [mkisofs](http://cdrtools.sourceforge.net/private/cdrecord.html) 7. Enable and start the libvirt daemon, e.g: - `systemctl enable libvirtd` - `systemctl start libvirtd` -- cgit v1.2.3