Commit a7680a16 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Cleaned up messages and comments

parent 553b498c
......@@ -338,7 +338,7 @@ class Ili:
code, chosen_strategy = self._dialog.radiolist(
'Select disk layout strategy',
height=20, width=40, list_height=10,
title='Disk Selection',
title='Disk Layout Strategy',
choices=[
(x['strategy'], x['description'], False) for x in self.state.supported_disklayout_strategies
],
......@@ -348,7 +348,7 @@ class Ili:
if code == self._dialog.DIALOG_CANCEL:
exit(0)
# If no disks were selected, we need to display an error, and do it again
# If no disk layout strategy was selected, we need to display an error, and do it again
if not chosen_strategy:
self._error('ERROR', 'No disk layout strategy was selected!')
......
......@@ -40,25 +40,25 @@ class IliState:
_networknaming_strategy: Optional[str]
# root size in Gbytes
_root_size: int
# Chosen hostname
# Hostname
_hostname: Optional[str]
# Chosen locale
# Locale
_locale: str
# Chosen timezone
# Timezone
_timezone: str
# Chosen mirrorlist
# Mirrorlist
_mirrorlist: Optional[str]
# Chosen install_microcode
# Install microcode
_install_microcode: bool
# Chosen root password
# Root password
_root_password: Optional[str]
# Chosen extra user username
# Extra user username
_user_username: Optional[str]
# Chosen extra user password
# Extra user password
_user_password: Optional[str]
# Chosen extra user ssh keys
# Extra user ssh keys
_user_sshkeys: List[str]
# Chosen services to enable
# Services to enable
_enable_services: List[str]
# Network
_network_interface_mappings: Dict[str, str]
......
......@@ -33,7 +33,7 @@ class Plugin:
"""Plugin __init__ method."""
def get_diskusage_strategies(self, ili_state: IliState):
"""Return a list of usage strategies we can provide based on the list of block devices."""
"""Return a list of disk usage strategies we can provide based on the list of block devices."""
raise NotImplementedError
def get_disklayout_strategies(self, ili_state: IliState):
......
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