Skip to content

Commit 822207d

Browse files
Merge pull request #1873 from ardaguclu/ocpbugs-41519
OCPBUGS-41519: Add HOST env var in oc debug for sos report collects more
2 parents a09d8cf + 19520b4 commit 822207d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkg/cli/debug/debug.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,6 +1091,11 @@ func (o *DebugOptions) approximatePodTemplateForObject(object runtime.Object) (*
10911091
Name: "TMOUT",
10921092
Value: "900",
10931093
},
1094+
{
1095+
// to collect more sos report requires this env var is set
1096+
Name: "HOST",
1097+
Value: "/host",
1098+
},
10941099
},
10951100
},
10961101
},

0 commit comments

Comments
 (0)