ryzensun: use tee in initrd postCommand script

This commit is contained in:
teutat3s 2024-06-14 15:48:28 +02:00
parent e459fbb0b5
commit 3dcb4045f5
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -48,7 +48,8 @@ in {
}; };
postCommands = '' postCommands = ''
# Automatically ask for the password on SSH login # Automatically ask for the password on SSH login
echo 'cryptsetup-askpass || echo "Unlock was successful; exiting SSH session" && exit 1' >> /root/.profile echo 'cryptsetup-askpass || echo "Unlock was successful; exiting SSH session" && exit 1' \
| tee /root/.profile
''; '';
}; };
}; };