def exec2(self, command): """ Run a command inside the container. :: from fabtools.require.openvz import container with container('foo') as ct: res = ct.exec2('hostname') .. warning:: the command will be run as **root**. """ return vz.exec2(self.ctid, command)
def exec2(self, command): return vz.exec2(self.ctid, command)