Commit 6b6aef58 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Cleaned up variables and fixed output line tag

parent 3fd13dec
......@@ -104,8 +104,8 @@ class DiskUsageMDRAID(Plugin):
# Add the block devices to the installer
ili_state.output_callback('Adding block devices')
ili_state.add_blockdevice('efi', f'{efi_disk}2')
ili_state.add_blockdevice('boot', f'{boot_disk}')
ili_state.add_blockdevice('root', f'{root_disk}')
ili_state.add_blockdevice('boot', boot_disk)
ili_state.add_blockdevice('root', root_disk)
# Add the MBR device to the installer
ili_state.output_callback('Adding device for MBR')
......@@ -48,4 +48,4 @@ class Mdadm:
def _default_output_callback(self, line: str):
print(f'grub: {line}')
print(f'mdadm: {line}')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment