X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai-redep;h=7dc0d097496e679750ad4437ee5a2acdce5026de;hb=f0d1a07f2c696d1aace04763424fc6ad13751fb3;hp=fabada02ee6826da23607d48fe2f1bed5ffc98a4;hpb=da61a304a10de72288782a9d872769fe44576f50;p=automated-distro-installer diff --git a/fai-redep b/fai-redep index fabada0..7dc0d09 100755 --- a/fai-redep +++ b/fai-redep @@ -38,10 +38,10 @@ host=${1:-faiserver} # use it, so look it up just to avoid the warning spam. faiserver_host=$(chost $host) || faiserver_host=$host -rsync -rl --delete --relative --exclude /fai/config/basefiles/ fai/config root@$faiserver_host:/srv +rsync -rlp --delete --relative --exclude /fai/config/basefiles/ fai/config root@$faiserver_host:/srv -scp -q ~/.ssh/id_rsa.pub \ +scp -q ~/.ssh/home.pub \ root@$faiserver_host:/srv/fai/config/files/root/.ssh/authorized_keys/GRUB_PC # todo: automatically disable faiserver after a period so # these files are not exposed.