summaryrefslogtreecommitdiffstats
path: root/scripts/lib/mic/kickstart/custom_commands/partition.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/mic/kickstart/custom_commands/partition.py')
-rw-r--r--scripts/lib/mic/kickstart/custom_commands/partition.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/lib/mic/kickstart/custom_commands/partition.py b/scripts/lib/mic/kickstart/custom_commands/partition.py
index 887195fa60..6b575c0e8d 100644
--- a/scripts/lib/mic/kickstart/custom_commands/partition.py
+++ b/scripts/lib/mic/kickstart/custom_commands/partition.py
@@ -59,6 +59,19 @@ class Wic_PartData(Mic_PartData):
59 59
60 return retval 60 return retval
61 61
62 def get_rootfs(self):
63 """
64 Acessor for rootfs dir
65 """
66 return self.rootfs
67
68 def set_rootfs(self, rootfs):
69 """
70 Acessor for actual rootfs dir, which must be set by source
71 plugins.
72 """
73 self.rootfs = rootfs
74
62 def get_size(self): 75 def get_size(self):
63 """ 76 """
64 Accessor for partition size, 0 or --size before set_size(). 77 Accessor for partition size, 0 or --size before set_size().