summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2021-05-24 09:52:22 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-05-26 17:27:33 +0200
commitb5c3f58cc4ce8e2fd953bd64a59b58681aeecdb4 (patch)
treecb6eb3e895a3e812858bac5ea36519a43c787ad6
parentcb9edc8d95300085aeb361bb0a3f81f268531542 (diff)
#1037 Add disk type
Add ogClient support to receive, parse and send disk type data from the cloning engine when refreshing disks configuration. See also commits with #1037 in ogServer and WebConsole repo.
-rw-r--r--src/live/ogOperations.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py
index 8d1040f..b5ddaeb 100644
--- a/src/live/ogOperations.py
+++ b/src/live/ogOperations.py
@@ -40,6 +40,7 @@ class OgLiveOperations:
params = dict(param.split('=') for param in line.split('\t'))
# Parse partition configuration.
part_setup['disk'] = params['disk']
+ part_setup['disk_type'] = params.get('dtype', '')
part_setup['partition'] = params['par']
part_setup['code'] = params['cpt']
part_setup['filesystem'] = params['fsi']