def _teardown_container(self, instance):
    inst_path = libvirt_utils.get_instance_path(instance)
    container_dir = os.path.join(inst_path, 'rootfs')
    rootfs_dev = instance.system_metadata.get('rootfs_device_name')
    disk.teardown_container(container_dir, rootfs_dev)
def _teardown_container(self, instance):
    inst_path = libvirt_utils.get_instance_path(instance)
    container_dir = os.path.join(inst_path, 'rootfs')
    rootfs_dev = instance.system_metadata.get('rootfs_device_name')
    disk.teardown_container(container_dir, rootfs_dev)