X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai-redep;h=ac73c7b16e539a67cbddcbdc5f634cbab05c7770;hb=19fcc3931853969ed5aa97897795557d324cae39;hp=c90aea8b8bde2398222bdafa3b4923039deff7c6;hpb=ee37d990c89bb3bab1b54e3b3fb43e9f79ed039b;p=automated-distro-installer 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 <