forked from pub-solar/os
ryzensun: use tee in initrd postCommand script
This commit is contained in:
parent
e459fbb0b5
commit
3dcb4045f5
|
@ -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
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue