diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-05-17 18:28:10 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-05-17 18:28:10 (GMT) |
commit | 51bde26d381a43dbe03fbec0028228bea8a17f33 (patch) | |
tree | 9b009dd8408b6c72040b5a1213e4d182c4a4ff0d /abs/core/LinHES-system/add_storage.py | |
parent | 6f7a84649ef75069cc4fa06fabeb63e762e049d1 (diff) | |
download | linhes_pkgbuild-51bde26d381a43dbe03fbec0028228bea8a17f33.zip linhes_pkgbuild-51bde26d381a43dbe03fbec0028228bea8a17f33.tar.gz linhes_pkgbuild-51bde26d381a43dbe03fbec0028228bea8a17f33.tar.bz2 |
LinHES-system: add_storage.py: fix writing config with dir_sg
Diffstat (limited to 'abs/core/LinHES-system/add_storage.py')
-rwxr-xr-x | abs/core/LinHES-system/add_storage.py | 5 |
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() |