The proposal to merge ~ogayot/curtin:fix-curthooks-no-kernel into curtin:master
has been updated.
Commit message changed to:
curthooks: fix exception when passing 'kernel: null'
When we don't want curthooks to install a kernel, we can pass:
kernel: null
However, currently, it makes the code raise an exception because we run
.get() on the kernel object even if it is None.
config.merge_config(mapping, kernel_cfg.get('mapping', {}))
AttributeError: 'NoneType' object has no attribute 'get'
'NoneType' object has no attribute 'get'
Fixed by returning gracefully without installing any kernel upon
encountering this configuration.
LP: #2026225
Signed-off-by: Olivier Gayot <[email protected]>
For more details, see:
https://code.launchpad.net/~ogayot/curtin/+git/curtin/+merge/446197
--
Your team curtin developers is subscribed to branch curtin:master.
--
Mailing list: https://launchpad.net/~curtin-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~curtin-dev
More help : https://help.launchpad.net/ListHelp