temp disable vcenter code
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-10-26 13:26:48 +11:00
parent c2e97c4256
commit 4e62813b4a

10
main.go
View File

@@ -178,11 +178,13 @@ func getScsiBusSharingVMs(client *govmomi.Client) error {
func main() {
// Command line flags
vURL := flag.String("url", "", "The URL of a vCenter server, eg https://server.domain.example/sdk")
vUser := flag.String("user", "", "The username to use when connecting to vCenter")
vPass := flag.String("password", "", "The password to use when connecting to vCenter")
/*
vURL := flag.String("url", "", "The URL of a vCenter server, eg https://server.domain.example/sdk")
vUser := flag.String("user", "", "The username to use when connecting to vCenter")
vPass := flag.String("password", "", "The password to use when connecting to vCenter")
vInsecure := flag.Bool("insecure", true, "Allow insecure connections to vCenter")
*/
vTZ := flag.String("tz", "Australia/Sydney", "The timezone to use when converting vCenter UTC times")
vInsecure := flag.Bool("insecure", true, "Allow insecure connections to vCenter")
cURL := flag.String("confluence-url", "https://confluence.yourdomain.com/wiki/rest/api", "The URL to your confluence rest API endpoint")
cToken := flag.String("confluence-token", "", "Your Confluence Personal Access Token")