tools: register the updater in the normal command path
agent-review agent review: pass

Install the container updater under /usr/local/bin so shells without sbin can discover it. Print the absolute installed path as a fallback for custom environments and retain existing managed links. Reproduce command discovery through a real Bash lookup before fixing registration.

Refs #23
This commit is contained in:
Florian Schmidt
2026-11-15 15:05:16 +01:00
parent 43caf1e412
commit afa6d83f2a
8 changed files with 52 additions and 7 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ def main(argv=None):
guest = load("finaltoken_guest_update", source / "tools/proxmox/guest.py")
guest.provision({"installer": marker["installer"], "action": "update", "ctid": marker["ctid"],
"sourceSha256": checksum}, archive)
print("Update complete. Future updates: finaltoken-update")
print("Update complete. Future updates: " + str(guest.UPDATER))
return 0