Browse Source

chg: added in comments the lines needed for the client to use lxc made with ``mirror`` charm.

postgres
Valentin Lab 12 years ago
parent
commit
50ef593f65
  1. 11
      precise/mirror/hooks/install

11
precise/mirror/hooks/install

@ -33,6 +33,17 @@ rsync ALL=(root) NOPASSWD: /usr/bin/rsync --server -vlogDtprRze.iLsf --bwlimit=2
EOF
## on client:
#mkdir -p /var/lib/rsync
#groupadd -r rsync
#useradd -r rsync -d /var/lib/rsync -g rsync
#chown rsync:rsync /var/lib/rsync
#su -c 'ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa -q' - rsync
## then you should copy /var/lib/rsync/.ssh/id_rsa.pub in the destination LXC's
## /var/lib/rsync/.ssh/authorized_keys, prefixed with: command="/usr/sbin/ssh-cmd-validate"
Loading…
Cancel
Save