summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-system/add_storage.py
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/LinHES-system/add_storage.py')
-rwxr-xr-xabs/core/LinHES-system/add_storage.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/abs/core/LinHES-system/add_storage.py b/abs/core/LinHES-system/add_storage.py
index 260421f..853c39e 100755
--- a/abs/core/LinHES-system/add_storage.py
+++ b/abs/core/LinHES-system/add_storage.py
@@ -57,6 +57,7 @@ class disk_device:
self.model = self.get_model(device_props)
self.mmount = False
+ self.dir_sg = False
self.f = self.get_mounts(device_props)
self.is_mounted = self.get_is_mounted(device_props)
@@ -80,6 +81,9 @@ class disk_device:
def set_mmount(self,flag):
self.mmount = flag
+ def set_dir_sg(self,flag):
+ self.dir_sg = flag
+
def set_disk_num(self,num):
self.disk_num=num
@@ -730,6 +734,7 @@ def myth_main(no_mount,install_call,dir_sg):
print " Disk: %s" %(i.get_name())
i.set_mmount(True)
+ i.set_dir_sg(dir_sg)
i.set_partition("7")
i.set_disk_num(0)
i.lookup_format()