'Removes a specific entry from the bootloader configuration.
:param kernel: entry position or entry title.
FIXME: param kernel should also take \'start\' or \'end\'.'

def remove_kernel(self, kernel):

    entry_selection = self._get_entry_selection(kernel)
    if (entry_selection is None):
        self.log.debug('remove_kernel    for    title    "%s"    did    not    find    an    entry.    This    is    most    probably    NOT    an    error', kernel)
        return 0
    command_arguments = [('--remove-kernel=%s' % entry_selection)]
    return self._run_grubby_get_return(command_arguments)
