When adding a new system image, vyos throws an error:
shell Validating image compatibility Validating image checksums What would you like to name this image? (Default: 2025.04.25-0019-rolling) Would you like to set the new image as the default one for boot? [Y/n] An active configuration was found. Would you like to copy it to the new image? [Y/n] Copying configuration directory Would you like to copy SSH host keys? [Y/n] Copying SSH host keys Copying system image files Cleaning up Unmounting target filesystems Removing temporary files Cleaning up Unmounting target filesystems Removing temporary files Error: argument of type 'NoneType' is not iterable
That's because system.option.kernel is not set in config, so kernel_options will be None: https://github.com/vyos/vyos-1x/blob/e6909ffe8fc474e181e9b711f1b08974e152a0a7/src/op_mode/image_installer.py#L493