From 1f3943689efb87d6f82da9443431b5f0bfcf60e1 Mon Sep 17 00:00:00 2001 From: neingeist Date: Wed, 23 Mar 2011 14:36:46 +0100 Subject: [PATCH] use markdown in readme --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index edfdc6c..2a6d840 100644 --- a/README.md +++ b/README.md @@ -8,15 +8,14 @@ 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
-  
+ 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: @@ -37,8 +36,7 @@ Usage ssh -t vmadmin@vmserver sudo virsh destroy myfancyvm ssh -t vmadmin@vmserver sudo virsh shutdown myfancyvm ssh -t vmadmin@vmserver sudo virsh start myfancyvm - ssh -t vmadmin@vmserver sudo virsh start myfancyvm --console - + ssh -t vmadmin@vmserver sudo virsh start myfancyvm --console If you use a "permitopen" directive, that user may also use the console command to keep an SSH tunnel open to use VNC.