Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add VMware to agent cloud discovery #4748

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG-7.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ software is upgraded when there are active keepalive failures.
entity subscriptions and/or a check named `deregistration`.
- Upgraded Go version from 1.17.1 to 1.18.1.
- Changed sensu-backend etcd configuration options.
- Added VMware as a value return in `GetCloudProvider` function.

### Removed
- Removed sensu-backend upgrade command. May make an appearance again in later versions.
4 changes: 4 additions & 0 deletions system/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ func GetCloudProvider(ctx context.Context) string {
logger.Debug("Running on Azure")
return "Azure"
}
if strings.Contains(text, "vmware") {
logger.Debug("Running on VMware")
return "VMware"
}
case "windows":
return cloudMetadataFallback(ctx)
}
Expand Down