diff options
-rw-r--r-- | vmdb/plugins/fstab_plugin.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vmdb/plugins/fstab_plugin.py b/vmdb/plugins/fstab_plugin.py index 0149860..67b37ab 100644 --- a/vmdb/plugins/fstab_plugin.py +++ b/vmdb/plugins/fstab_plugin.py @@ -41,6 +41,8 @@ class FstabStepRunner(vmdb.StepRunnerInterface): if mount_point is not None: fstype = state.tags.get_fstype(tag) uuid = state.tags.get_uuid(tag) + dm = state.tags.get_dm(tag) + if uuid is None: raise Exception( "Unknown UUID for device {} (to be mounted on {})".format( @@ -51,6 +53,7 @@ class FstabStepRunner(vmdb.StepRunnerInterface): filesystems.append( { "uuid": uuid, + "dm": dm, "mount_point": mount_point, "fstype": fstype, } |