On Mon, Jan 20, Richard W.M. Jones wrote:
For example:
$ echo 123456 | guestfish -x --keys-from-stdin -N part luks-format /dev/sda1 0
thanks, I changed my code like this:
(
echo "123456"
echo "123456"
) | \
guestfish \
-x \
--keys-from-stdin \
\
luks-format $part 0 : \
luks-open $part crypt_part
Olaf