'Configure the system as directed for registration with RHSM
Raises:
* Exception - if error occurs while running command'

def configure(self, **kwargs):

    args = ['subscription-manager', 'config']
    for (k, v) in kwargs.items():
        if re.search('^(system|rhsm)_', k):
            args.append(('--%s=%s' % (k.replace('_', '.'), v)))
    self.module.run_command(args, check_rc=True)
