This change was added in FAI 6.0 (see commit below), but since FAI 6.2
there's a variable called FAI_KEEP_CRYPTKEYFILE. This is now the code snippet:


# clean crypt key files
unless (defined ($ENV{'FAI_KEEP_CRYPTKEYFILE'})) {
  foreach (@FAI::crypttab) {
    my $fname = (split)[0];
    unlink "$FAI::DATADIR/$fname";
  }
}





[~/.../lib/setup-storage]$ g show dcc21fc15c2df6e6fea73d4d8f0bea1b14ac4442
commit dcc21fc15c2df6e6fea73d4d8f0bea1b14ac4442
Author: Thomas Lange <[email protected]>
Date:   Fri Oct 28 23:03:33 2022 +0200

    remove keyfiles afer use


-- 
regards Thomas

Reply via email to