xen-drbd

diff xen-drbd-install.py @ 14:641e14be445c

authorized_keys to eb
author igor
date Tue Feb 12 16:08:05 2008 +0200 (2008-02-12)
parents 91f904355b71
children 2ff0fe045dc0
line diff
     1.1 --- a/xen-drbd-install.py	Tue Feb 12 15:11:04 2008 +0200
     1.2 +++ b/xen-drbd-install.py	Tue Feb 12 16:08:05 2008 +0200
     1.3 @@ -261,9 +261,10 @@
     1.4  def make_rootssh():
     1.5      for dom in domains:
     1.6          print """
     1.7 -mkdir -p /domU/%s/root/.ssh/
     1.8 +mkdir -p /domU/%s/home/eb/.ssh/
     1.9 +chown -R 1000:1000 /domU/%s/home/eb
    1.10  cp ~/.ssh/id_dsa.pub /domU/%s/root/.ssh/authorized_keys
    1.11 -chmod 600 /domU/%s/root/.ssh/authorized_keys
    1.12 +chmod 600 /domU/%s/home/eb/.ssh/authorized_keys
    1.13          """  % (dom,dom,dom)
    1.14  
    1.15  def make_l3rc():