summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-01-01 19:54:11 +0200
committerLars Wirzenius <liw@liw.fi>2022-01-01 19:54:11 +0200
commitc20b3c938a3599c16b803ef460269d9fea72df74 (patch)
tree5588cceac69b052c2177ce7ed24a74c2221c60b9
parentd1596d0da82e218a54f4556da5554787f20605f6 (diff)
downloadvmdb2-c20b3c938a3599c16b803ef460269d9fea72df74.tar.gz
fix condition for crypttab
Sponsored-by: author
-rw-r--r--vmdb/plugins/fstab_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/vmdb/plugins/fstab_plugin.py b/vmdb/plugins/fstab_plugin.py
index 9caeea3..0149860 100644
--- a/vmdb/plugins/fstab_plugin.py
+++ b/vmdb/plugins/fstab_plugin.py
@@ -62,7 +62,7 @@ class FstabStepRunner(vmdb.StepRunnerInterface):
for entry in filesystems:
fstab.write(line.format(**entry))
- entries = [e for e in filesystems if "uuid" in e and "name" in e]
+ entries = [e for e in filesystems if "uuid" in e and "dm" in e]
vmdb.progress(f"filesystems: {filesystems}")
vmdb.progress(f"crypttab entries: {entries}")
if entries: