Add Proxmox guest auto sync (#1053)

This commit is contained in:
ZacharyZcR
2026-07-16 12:10:12 +08:00
committed by GitHub
parent b2c5b9cde3
commit ed6cda4ea4
12 changed files with 1006 additions and 345 deletions
@@ -138,6 +138,18 @@ export function ProxmoxDiscoverDialog({
enableDocker: g.enableDocker,
connectionType: g.connectionType,
tags: ["proxmox", g.type, g.node],
proxmoxConfig: {
source: {
source: "proxmox",
sourceHostId: Number(effectiveHostId),
node: g.node,
vmid: g.vmid,
type: g.type,
lastSeenAt: new Date().toISOString(),
lastStatus: g.status,
missingSince: null,
},
},
}));
const result = await bulkImportSSHHosts(toImport, false);