X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai-redep;h=7dc0d097496e679750ad4437ee5a2acdce5026de;hb=f0d1a07f2c696d1aace04763424fc6ad13751fb3;hp=9a455c9c0cc6d01f30e8b0a0469e6c18a22fbc1a;hpb=a027429011d313e0d9156fef9451f5a55a588163;p=automated-distro-installer diff --git a/fai-redep b/fai-redep index 9a455c9..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. @@ -53,7 +53,7 @@ tar -cz /p/c/machine_specific/*/filesystem/etc/ssh | \ ssh root@$faiserver_host tar -xz -C /srv/fai/config/distro-install-common -# built BELANOS basefile with mk-basefile -J BELENOS64. it's stored in +# built BELENOS basefile with mk-basefile -J BELENOS64. it's stored in # it's own repo which is published alongside this one called # fai-basefiles due to being a large binary file.