summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Terceiro <terceiro@debian.org>2019-02-20 20:11:24 -0300
committerLars Wirzenius <liw@liw.fi>2019-12-15 17:14:43 +0200
commit67ff9e09719b6e1c6faf60da9128adc2496dce27 (patch)
treede3f435be3eb2420d378e91b7e01091d9e314b00
parentc65d0f0e4df0674651fd71922d776a3d6dfb3fac (diff)
downloadvmdb2-67ff9e09719b6e1c6faf60da9128adc2496dce27.tar.gz
Change: make mkfs record the filesystem type
-rw-r--r--vmdb/plugins/mkfs_plugin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/vmdb/plugins/mkfs_plugin.py b/vmdb/plugins/mkfs_plugin.py
index 406ce51..49ca86b 100644
--- a/vmdb/plugins/mkfs_plugin.py
+++ b/vmdb/plugins/mkfs_plugin.py
@@ -56,3 +56,5 @@ class MkfsStepRunner(vmdb.StepRunnerInterface):
cmd.append(step['label'])
cmd.append(device)
vmdb.runcmd(cmd)
+
+ state.tags.set_fstype(tag, fstype)