modules ip*: use f-strings (#10968)

* modules ip*: use f-strings

* add changelog frag
This commit is contained in:
Alexei Znamensky
2025-10-25 13:54:37 +13:00
committed by GitHub
parent 0ef2235929
commit 0b6e99b28b
13 changed files with 80 additions and 73 deletions

View File

@@ -185,7 +185,7 @@ def main():
ipmi_cmd = command.Command(
bmc=name, userid=user, password=password, port=port, kg=key
)
module.debug('ipmi instantiated - name: "%s"' % name)
module.debug(f'ipmi instantiated - name: "{name}"')
current = ipmi_cmd.get_bootdev()
# uefimode may not supported by BMC, so use desired value as default
current.setdefault('uefimode', uefiboot)