Skip to content

Commit f01ce95

Browse files
committed
fix path for operation
1 parent d590929 commit f01ce95

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Sources/Containerization/LinuxContainer.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,8 @@ extension LinuxContainer {
10211021
guard let vminitd = agent as? Vminitd else {
10221022
throw ContainerizationError(.unsupported, message: "filesystemOperation requires Vminitd agent")
10231023
}
1024-
try await vminitd.filesystemOperation(operation: operation, path: path)
1024+
let guestPath = URL(filePath: Self.guestRootfsPath(self.id)).appending(path: path).path
1025+
try await vminitd.filesystemOperation(operation: operation, path: guestPath)
10251026
}
10261027
}
10271028
}

0 commit comments

Comments
 (0)