Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Include the caller shell in isolated bootstrap PTYs
pulse-triage[bot]02308ccbb41e
diff --git a/internal/api/configapi/portable_bootstrap_test.go b/internal/api/configapi/portable_bootstrap_test.goindex 093f329bcc..f54a6b2eab 100644--- a/internal/api/configapi/portable_bootstrap_test.go+++ b/internal/api/configapi/portable_bootstrap_test.go@@ -37,7 +37,7 @@ func portableBootstrapFixture(t *testing.T, mode string) (string, []string) {t.Helper()root, env := bootstrapFixture(t, recordingInstaller)bin := filepath.Join(root, "bin")- for _, name := range []string{"bash", "cp", "rm", "rmdir", "cat", "stat", "dirname", "touch"} {+ for _, name := range []string{"sh", "bash", "cp", "rm", "rmdir", "cat", "stat", "dirname", "touch"} {path, err := exec.LookPath(name)if err != nil {t.Fatal(err)@@ -165,7 +165,7 @@ func TestPrivateBootstrapPortableToolFailures(t *testing.T) {out, err = runBootstrap(t, command, "", env, false)}if err == nil || !strings.Contains(string(out), tc.message) {- t.Fatalf("expected distinct fail-closed %s diagnostic; exit=%v, matched=%t", tc.name, err, strings.Contains(string(out), tc.message))+ t.Fatalf("expected distinct fail-closed %s diagnostic; exit=%v, matched=%t\n%s", tc.name, err, strings.Contains(string(out), tc.message), out)}if _, err := os.Stat(filepath.Join(root, "captured-token")); !os.IsNotExist(err) {t.Fatal("installation preceded safe terminal restoration")@@ -205,7 +205,7 @@ func TestPrivateBootstrapRealBusyBoxInput(t *testing.T) {command := caller.build("issued-separately")out, err := runPortableBootstrap(t, command, tc.input, env, "", tc.signalName)if (err != nil) != tc.failure {- t.Fatalf("BusyBox bootstrap result=%v, expected failure=%t", err, tc.failure)+ t.Fatalf("BusyBox bootstrap result=%v, expected failure=%t\n%s", err, tc.failure, out)}captured, captureErr := os.ReadFile(filepath.Join(root, "captured-token"))if tc.failure {