'Execute a shell command.'

def _execute_command(self):

    container_command = self.module.params.get('container_command')
    if container_command:
        container_state = self._get_state()
        if (container_state == 'frozen'):
            self._unfreeze()
        elif (container_state == 'stopped'):
            self._container_startup()
        self.container.attach_wait(create_script, container_command)
        self.state_change = True
