X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai-redep;h=7dc0d097496e679750ad4437ee5a2acdce5026de;hb=ba2a6b887fe5a9ed627e9f0947265b37abbcf7aa;hp=fabada02ee6826da23607d48fe2f1bed5ffc98a4;hpb=4029016168015c3aa0accc909c3cff28cf87b929;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.