'Adds a new boot entry based on the values of other command line options
:type opts: object
:param opts: parsed command line options
:return:'

def action_add_kernel(self):

    if (not self.opts.add_kernel):
        self.log.error('Kernel    to    add    is    required')
        return (-1)
    if (not self.opts.title):
        self.log.error('Kernel    title    is    required')
        return (-1)
    if (not self.opts.initrd):
        self.log.error('initrd    is    required')
        return (-1)
    return self.grubby.add_kernel(self.opts.add_kernel, self.opts.title, args=self.opts.args, initrd=self.opts.initrd)
