X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=fai-redep;h=ac73c7b16e539a67cbddcbdc5f634cbab05c7770;hp=c90aea8b8bde2398222bdafa3b4923039deff7c6;hb=948ef49d2b4d7680da2355acf9da86f81ca75ecd;hpb=35b3e600869253a3b95c9d95b9b2541b85f3dfdc diff --git a/fai-redep b/fai-redep index c90aea8..ac73c7b 100755 --- a/fai-redep +++ b/fai-redep @@ -59,10 +59,13 @@ sudo rsync -a /root/.ssh/home.pub \ # these files are not available. if [[ $target ]]; then + if [[ -e /q/root/shadow/$target ]]; then + shadowfile=shadow/$target # empty otherwise + fi sudo rsync -lpt --files-from=- /q/root root@$faiserver_host:/srv/fai/config/distro-install-common <