def guess_kernel(chroot='', regexp=None):
    kernel = utils.guess_filename(
        path=os.path.join(chroot, 'boot'),
        regexp=(regexp or r'^vmlinuz.*'))

    if kernel:
        return kernel

    raise errors.GrubUtilsError('Error while trying to find kernel: '
                                'regexp=%s' % regexp)
Sets the encoding used for GET/POST accesses. If the GET or POST
dataset/ETHPy150Open openstack/bareon/bareon/utils/grub.py/guess_kernel--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.3/django/http/__init__.py/HttpRequest._set_encoding