MCPcopy Create free account
hub / github.com/archlinux/archinstall / plain_cfg

Method plain_cfg

archinstall/lib/args.py:211–220  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

209 return base_config
210
211 def plain_cfg(self) -> dict[ArchConfigType, str | list[str] | bool]:
212 return {
213 ArchConfigType.HOSTNAME: self.hostname,
214 ArchConfigType.KERNELS: self.kernels,
215 ArchConfigType.NTP: self.ntp,
216 ArchConfigType.TIMEZONE: self.timezone,
217 ArchConfigType.SERVICES: self.services,
218 ArchConfigType.PACKAGES: self.packages,
219 ArchConfigType.CUSTOM_COMMANDS: self.custom_commands,
220 }
221
222 def sub_cfg(self) -> dict[ArchConfigType, SubConfig]:
223 cfg: dict[ArchConfigType, SubConfig] = {

Callers 2

safe_configMethod · 0.95
as_summaryMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected