Lines Matching full:rootfs
162 # Path to the rootfs of the container. This will be initialized when
163 # property rootfs is retrieved.
284 def rootfs(self): member in Container
285 """Path to the rootfs of the container.
287 This property returns the path to the rootfs of the container, that is,
289 attribute lxc.rootfs from the config file of the container, e.g.,
290 lxc.rootfs = /usr/local/autotest/containers/t4/rootfs
291 If the container is created with snapshot, the rootfs is a chain of
294 lxc.rootfs = overlayfs:/usr/local/autotest/containers/base/rootfs:
299 Files in the rootfs will be accessible directly within container. For
300 example, a folder in host "[rootfs]/usr/local/file1", can be accessed
305 @return: Path to the rootfs of the container.
307 lxc_rootfs_config_name = 'lxc.rootfs'
312 lxc_rootfs_config_name = 'lxc.rootfs.path'
453 # Create directory in container for mount. Changes to container rootfs
455 utils.run('sudo mkdir -p %s' % os.path.join(self.rootfs, destination))
549 usr_local_path = os.path.join(self.rootfs, 'usr', 'local')
552 # Changes within the container rootfs require sudo.
576 dst_path = os.path.join(self.rootfs,