isWindowsOSType returns true when the Proxmox ostype string indicates a Windows guest. Mirrors detectOSFamily in internal/plugins/command-runner/os_detection.go.
(osType string)
| 613 | // Windows guest. Mirrors detectOSFamily in |
| 614 | // internal/plugins/command-runner/os_detection.go. |
| 615 | func isWindowsOSType(osType string) bool { |
| 616 | return strings.HasPrefix(strings.ToLower(osType), "win") |
| 617 | } |
| 618 | |
| 619 | // ── guests shell ───────────────────────────────────────────────────────────── |
| 620 |