use disk/by-id if possibe, other small fixes
[automated-distro-installer] / arch-init-remote
index c7f6110ac3323aabef7404a8c5f486a3447577df..5c2717ff1ae8d60492c0306a6460b6dfc4e8a733 100755 (executable)
@@ -19,7 +19,8 @@ fai_files=(
 )
 sudo scp -r /a/bin/fai/arch-init{,-chroot} \
      ${fai_files[@]/#//a/bin/fai/fai/config/} \
-    /q/root/luks /p/shadow root@$host:
+     /a/bin/devbyid \
+    /q/root/luks /q/root/shadow root@$host:
 # creating shadow file string:
 # on debian, you can use mkpasswd -m sha-512 to generate a pass.
 # arch doesn't have this program. instead, you can do passwd,