fix(agent99): bound stale transport processes
This commit is contained in:
@@ -169,6 +169,10 @@ try {
|
||||
|
||||
$config = Get-Content $ConfigPath -Raw | ConvertFrom-Json
|
||||
Add-DefaultProperty $config "sshIdentityFile" (Join-Path $AgentRoot "keys\agent99_ed25519")
|
||||
Add-DefaultProperty $config "sshProcessGuard" ([pscustomobject]@{})
|
||||
Add-DefaultProperty $config.sshProcessGuard "enabled" $true
|
||||
Add-DefaultProperty $config.sshProcessGuard "staleMinutes" 15
|
||||
Add-DefaultProperty $config.sshProcessGuard "hardStaleMinutes" 60
|
||||
Add-DefaultProperty $config "k3s" ([pscustomobject]@{})
|
||||
Add-DefaultProperty $config.k3s "jumpHost" "192.168.0.110"
|
||||
Add-DefaultProperty $config.k3s "preferJumpHost" $true
|
||||
|
||||
Reference in New Issue
Block a user