mirror of
https://github.com/dracutdevs/dracut.git
synced 2024-10-28 10:55:18 +03:00
1a0c05b849
We no longer require any user intervention when testing dracut on a local block device in qemu, assuming everything passes. If things fail, we still might need to manually kill things.
7 lines
109 B
Bash
Executable File
7 lines
109 B
Bash
Executable File
#!/bin/sh
|
|
|
|
[ -b /dev/mapper/$2 ] && exit 0
|
|
echo -n test >/keyfile
|
|
/sbin/cryptsetup luksOpen $1 $2 </keyfile
|
|
|