@sonic_installer.command('verify-next-image')
def verify_next_image():
    ' Verify the next image for reboot'
    bootloader = get_bootloader()
    if (not bootloader.verify_next_image()):
        echo_and_log('Image verification failed', LOG_ERR)
        sys.exit(1)
    click.echo('Image successfully verified')
Verify the next image for reboot
@sonic_installer.command('verify-next-image')
def verify_next_image():
    ' '
    bootloader = get_bootloader()
    if (not bootloader.verify_next_image()):
        echo_and_log('Image verification failed', LOG_ERR)
        sys.exit(1)
    click.echo('Image successfully verified')