diff --git a/precise/mirror/hooks/install b/precise/mirror/hooks/install index eb8f2c5..81246a3 100755 --- a/precise/mirror/hooks/install +++ b/precise/mirror/hooks/install @@ -7,7 +7,7 @@ set -eux # -x for verbose logging to juju debug-log ## kal-manage provides the script /usr/lib/kal/dusk/sbin/ssh-cmd-validate ## used to validate any entrant connection to SSH. -apt-get install -y --force-yes rsync kal-manage +apt-get install -y --force-yes rsync kal-manage mkdir -p /var/mirror @@ -18,6 +18,7 @@ useradd -r rsync -d /var/lib/rsync -g rsync chown rsync:rsync /var/lib/rsync +## build silently a key for 'rsync' user: su -c 'ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa -q' - rsync ## /etc/sudoers diff --git a/precise/www/hooks/.install.swp b/precise/www/hooks/.install.swp deleted file mode 100644 index d755afd..0000000 Binary files a/precise/www/hooks/.install.swp and /dev/null differ