summaryrefslogtreecommitdiff
path: root/hscript/disk.hh
diff options
context:
space:
mode:
Diffstat (limited to 'hscript/disk.hh')
-rw-r--r--hscript/disk.hh7
1 files changed, 6 insertions, 1 deletions
diff --git a/hscript/disk.hh b/hscript/disk.hh
index 90deca4..53527f3 100644
--- a/hscript/disk.hh
+++ b/hscript/disk.hh
@@ -116,7 +116,12 @@ public:
class Encrypt : public Key {
};
-class LVMPhysical : public Key {
+class LVMPhysical : public StringKey {
+private:
+ LVMPhysical(int _line, const std::string &_d) : StringKey(_line, _d) {}
+public:
+ static Key *parseFromData(const std::string &, int, int*, int*);
+ bool execute(ScriptOptions) const override;
};
class LVMGroup : public Key {