X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai-redep;h=97ccfaeb3dccf6956fcc788ad23fe3da56ef8375;hb=2eebb95531424e04797094d622eebdd7ece5b38b;hp=43d34bbbfb1fb20b4fa886c7e93b6f64d1ab3f1f;hpb=63372a0fd027649a0ef031efe5b7d22f396340d4;p=automated-distro-installer diff --git a/fai-redep b/fai-redep index 43d34bb..97ccfae 100755 --- a/fai-redep +++ b/fai-redep @@ -44,9 +44,10 @@ s scp -r /q/root/luks /q/root/shadow \ scp /a/bin/devbyid root@$faiserver_host:/srv/fai/nfsroot/usr/local/bin ssh root@$faiserver_host bash <<'EOF' set -eE -o pipefail +set -x chmod 644 /srv/fai/config/files/home/ian/.ssh/authorized_keys/GRUB_PC chmod -R a+rX /srv/fai/config/distro-install-common cd /srv/fai/config/basefiles u=http://fai-project.org/download/basefiles/XENIAL64.tar.xz -wget -nv -O /srv/fai/config/basefiles/${u##*/} $u +wget -nv -N $u EOF