mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-07-16 05:13:36 +00:00
Add Proxmox guest auto sync (#1053)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user