mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-07-09 16:00:59 +00:00
A Proxmox host upgraded from v5 may still carry the legacy pulse-sensor-proxy footprint (binary, systemd units, runtime/state dirs, dedicated service user, and managed SSH keys in root's authorized_keys). install.sh --uninstall removed everything for the Pulse server itself but left that legacy footprint behind, so a 'complete uninstall' was not complete -- most notably it left SSH key entries in /root/.ssh/authorized_keys. uninstall_pulse now calls cleanup_local_sensor_proxy, which removes the LOCAL footprint only: stop/disable the units, remove the binary/units/runtime/state dirs, strip the '# pulse-managed-key' / '# pulse-proxy-key' entries, and remove the service user/group. It is presence-gated (silent no-op when no proxy was installed). The aggressive cluster-wide authorized_keys removal and pulse-monitor@pam API-user deletion stay behind the explicit standalone scripts/uninstall-sensor-proxy.sh, which we print a pointer to. Functional + contract tests in scripts/installtests/root_install_sh_test.go; deployment-installability contract documents the new uninstall removal scope. |
||
|---|---|---|
| .. | ||
| backfill_release_assets_test.go | ||
| build_release_assets_test.go | ||
| docker_entrypoint_test.go | ||
| install_docker_sh_test.go | ||
| install_ps1_test.go | ||
| install_sh_test.go | ||
| provider_msp_deploy_test.go | ||
| pulse_auto_update_test.go | ||
| release_ldflags_test.go | ||
| root_install_sh_test.go | ||
| uninstall_sensor_proxy_test.go | ||