diff --git a/scripts/unlock-boot.sh b/scripts/unlock-boot.sh index b0d82706..e9b42794 100644 --- a/scripts/unlock-boot.sh +++ b/scripts/unlock-boot.sh @@ -25,11 +25,13 @@ echo if [ $# = 1 ] then echo "$diskkey" | ssh $sshoptions root@$hostname-initrd "systemd-tty-ask-password-agent" #root + echo "$diskkey" | ssh $sshoptions root@$hostname-initrd "systemd-tty-ask-password-agent" #data elif [ $# = 2 ] then ip=$2 echo "$diskkey" | ssh $sshoptions root@$ip "systemd-tty-ask-password-agent" #root + echo "$diskkey" | ssh $sshoptions root@$ip "systemd-tty-ask-password-agent" #data else echo