Skip to content

Commit

Permalink
Revert "Add SystemDrive env var to osqueryd if present in orbit" (#25239
Browse files Browse the repository at this point in the history
)

Reverts #2520

Was asked to revert this PR so we can include it in the next release
instead
  • Loading branch information
dantecatalfamo authored Jan 8, 2025
1 parent 51dcf80 commit f7ac65d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion orbit/changes/8986-systemdrive-env-passthrough

This file was deleted.

6 changes: 0 additions & 6 deletions orbit/cmd/orbit/orbit.go
Original file line number Diff line number Diff line change
Expand Up @@ -771,12 +771,6 @@ func main() {
)
}

if runtime.GOOS == "windows" {
if systemDrive, ok := os.LookupEnv("SystemDrive"); ok {
options = append(options, osquery.WithEnv([]string{fmt.Sprintf("SystemDrive=%s", systemDrive)}))
}
}

var certPath string
if fleetURL != "https://" && c.Bool("insecure") {
proxy, err := insecure.NewTLSProxy(fleetURL)
Expand Down

0 comments on commit f7ac65d

Please sign in to comment.