summaryrefslogtreecommitdiff
path: root/windowDroplets.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-11 10:27:42 -0500
committerJeff Carr <[email protected]>2025-03-11 10:27:42 -0500
commit0a452c005bdc90354b192c5234373a7bca5ffdf6 (patch)
tree0198ee54f9e8bde60c33b983531b30412c5a3022 /windowDroplets.go
parent7ee465da56310366c5eb8b9d8fe739b334adaba1 (diff)
smarter admin tablesv0.2.44
Diffstat (limited to 'windowDroplets.go')
-rw-r--r--windowDroplets.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/windowDroplets.go b/windowDroplets.go
index 5474d57..6d2e71b 100644
--- a/windowDroplets.go
+++ b/windowDroplets.go
@@ -4,6 +4,7 @@
package main
import (
+ "fmt"
"strings"
"sync"
"time"
@@ -184,7 +185,9 @@ func (dw *stdDropletTableWin) doActiveDroplets(pb *virtpb.Droplets) {
return "remmina"
})
fb.Custom = func(d *virtpb.Droplet) {
- log.Printf("connect to %s on %s: remmina spice://%s:%d\n", d.Hostname, d.Current.Hypervisor, argv.Server, d.SpicePort)
+ log.Printf("connect to %s on %s: remmina spice://%s:%d\n", d.Hostname, d.Current.Hypervisor, argv.Server, 10000+d.SpicePort)
+ data, err := gusPost(fmt.Sprintf("%d", 10000+d.SpicePort), d.Current.Hypervisor)
+ log.Info("data", string(data), "err =", err)
}
t.AddHostname()