disko: strip new lines from key files
This commit is contained in:
parent
4203164991
commit
ff6d545ea4
|
@ -108,8 +108,8 @@ in
|
||||||
{
|
{
|
||||||
type = "luks";
|
type = "luks";
|
||||||
name = luksName;
|
name = luksName;
|
||||||
# TODO: add password, otherwise prompt opens
|
# trim potential new lines to not have them in the password
|
||||||
keyFile = "/$PWD/keyFile";
|
keyFile = "tr -d '\n' </$PWD/keyFile";
|
||||||
content = {
|
content = {
|
||||||
type = "lvm_pv";
|
type = "lvm_pv";
|
||||||
vg = vgName;
|
vg = vgName;
|
||||||
|
|
Loading…
Reference in New Issue