summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlinhes/linhes-system/add_storage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/linhes/linhes-system/add_storage.py b/linhes/linhes-system/add_storage.py
index 8821016..cc6feb5 100755
--- a/linhes/linhes-system/add_storage.py
+++ b/linhes/linhes-system/add_storage.py
@@ -675,7 +675,7 @@ def main(scan_only, destruction, no_mount, install_call, dir_sg):
if len(process_list) > 0:
- DB = MythDB()
+ #DB = MythDB()
host=gethostname()
for y in process_list:
system_drive_list.remove(y)
@@ -714,6 +714,7 @@ def main(scan_only, destruction, no_mount, install_call, dir_sg):
i.symlink_disk()
if dir_sg == True:
+ DB = MythDB()
i.add_sg(DB,host,SG_MAP)
print("-----")