From d9faf53dd18c8f10fc453f977dd3eeb8d185495d Mon Sep 17 00:00:00 2001 From: neingeist Date: Wed, 23 Mar 2011 14:39:49 +0100 Subject: [PATCH] use markdown in readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9fcac90..32de9db 100644 --- a/README.md +++ b/README.md @@ -8,18 +8,18 @@ using SSH public keys. Configuration ============= -1. Create a user
vmadmin
. +1. Create a user vmadmin. 2. Give that user sudo permissions for calling virsh, so she may control (all) VMs: - Defaults:vmadmin !requiretty - vmadmin ALL = (root) NOPASSWD: /usr/bin/virsh + Defaults:vmadmin !requiretty + vmadmin ALL = (root) NOPASSWD: /usr/bin/virsh 3. For every one of your users, create a line in vmadmin's .ssh/authorized_keys using their SSH public keys: - command="/usr/local/bin/virssh myfancyvm",permitopen="localhost:5915",no-X11-forwarding,no-agent-forwarding ssh-rsa AAAAB...== myfancyuser@hjome + command="/usr/local/bin/virssh myfancyvm",permitopen="localhost:5915",no-X11-forwarding,no-agent-forwarding ssh-rsa AAAAB...== myfancyuser@hjome Instead of specifying only one VM "myfancyvm", you may also specify multiple VMs by regex, for example "(myfancyvm|myothervm)".