def METHOD_NAME(self, cntnr_cmd, shell_bool=False):
    cmd = list()
    if self.privileged:
        cmd.append('sudo')
    cmd.append('lxc')
    cmd.append('exec')
    cmd.append(self.name)
    cmd.append('--')
    # concatenate the lxc exec command with the command to be run
    # inside the container
    if isinstance(cntnr_cmd, str):
        cmd.append(cntnr_cmd)
    elif isinstance(cntnr_cmd, list):
        cmd = cmd + cntnr_cmd
    else:
        raise ContainerError('Unsupported command type')
    return Run.METHOD_NAME(cmd, shell_bool=shell_bool)