From 75e272dc06fcae6d079de49b20c927cfd43df9b7 Mon Sep 17 00:00:00 2001 From: steve Date: Mon, 8 May 2006 21:36:19 +0000 Subject: [PATCH] 2006-05-08 21:36:19 by steve Updated ssh copying example to actually work. /.ssh != /root/.ssh --- xen-create-image | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/xen-create-image b/xen-create-image index 0010b1f..cc55a2e 100755 --- a/xen-create-image +++ b/xen-create-image @@ -423,10 +423,10 @@ Install an X11 server, using VNC and XDM =for example start - mkdir -p /etc/xen-tools/skel/.ssh - chmod 700 /etc/xen-tools/skel/.ssh - cp /root/.ssh/id_rsa.pub /etc/xen-tools/skel/.ssh/authorized_keys2 - chmod 644 /etc/xen-tools/skel/.ssh/authorized_keys2 + mkdir -p /etc/xen-tools/skel/root/.ssh + chmod -R 700 /etc/xen-tools/skel/root + cp /root/.ssh/id_rsa.pub /etc/xen-tools/skel/root/.ssh/authorized_keys2 + chmod 644 /etc/xen-tools/skel/root/.ssh/authorized_keys2 =for example cut @@ -439,7 +439,7 @@ Install an X11 server, using VNC and XDM -- http://www.steve.org.uk/ - $Id: xen-create-image,v 1.113 2006-05-08 20:54:35 steve Exp $ + $Id: xen-create-image,v 1.114 2006-05-08 21:36:19 steve Exp $ =cut @@ -1074,7 +1074,7 @@ sub parseCommandLineArguments if ( $VERSION ) { - my $REVISION = '$Revision: 1.113 $'; + my $REVISION = '$Revision: 1.114 $'; if ( $REVISION =~ /1.([0-9.]+) / ) {