summaryrefslogtreecommitdiffstats
path: root/src/ogRest.py
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2022-04-18 16:13:14 +0200
committerJose M. Guisado <jguisado@soleta.eu>2022-04-21 09:47:31 +0200
commit097769b971f64f93004a87393721a289fe3db13f (patch)
treede146d6093b26e76610519b20ae2ebae7b38bd5a /src/ogRest.py
parentd3f9788aab9580a7c4d58b1e95c8bd3a4320f0a2 (diff)
live: use utils.py and fdisk in refresh operation
Use python binding for libfdisk to retrieve disk label and partition information [1]. Use utils.py for the rest of the process. This change aims to drop dependency with external script 'getConfiguration' from the OpenGnsys scripting ecosystem. Keeps the same json payload structure for the refresh response. [1] https://git.48k.eu/python-libfdisk/
Diffstat (limited to 'src/ogRest.py')
0 files changed, 0 insertions, 0 deletions