diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-01-01 19:54:11 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-01-01 19:54:11 +0200 |
commit | c20b3c938a3599c16b803ef460269d9fea72df74 (patch) | |
tree | 5588cceac69b052c2177ce7ed24a74c2221c60b9 | |
parent | d1596d0da82e218a54f4556da5554787f20605f6 (diff) | |
download | vmdb2-c20b3c938a3599c16b803ef460269d9fea72df74.tar.gz |
fix condition for crypttab
Sponsored-by: author
-rw-r--r-- | vmdb/plugins/fstab_plugin.py | 2 |
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: |