Lines Matching refs:container_path
132 def __init__(self, container_path, name, attribute_values, src=None, argument
149 self.container_path = os.path.realpath(container_path)
160 lxc_utils.clone(src.container_path, src.name, self.container_path,
168 os.path.join(self.container_path, self.name))
222 new_path = src.container_path
260 containers = lxc.get_container_info(self.container_path, name=self.name)
264 (self.container_path, self.name))
321 cmd = 'sudo lxc-attach -P %s -n %s' % (self.container_path, self.name)
353 cmd = 'sudo lxc-start -P %s -n %s -d' % (self.container_path, self.name)
358 (os.path.join(self.container_path, self.name),
380 cmd = 'sudo lxc-stop -P %s -n %s' % (self.container_path, self.name)
386 '%s' % (os.path.join(self.container_path, self.name),
403 self.container_path,
405 lxc_utils.destroy(self.container_path, self.name, force=force)
563 def copy(self, host_path, container_path): argument
570 container_path.lstrip(os.path.sep))
585 self._id.save(os.path.join(self.container_path, self.name))
621 config_file = os.path.join(self.container_path, self.name, 'config')
633 (self.container_path, self.name, key))