Skip to content

Commit 0c70725

Browse files
committed
Add KernelCommandLine to OperatingSystemStatus
Store the raw /proc/cmdline content as a string in the hypervisor status.
1 parent 8267927 commit 0c70725

15 files changed

+200
-65
lines changed

api/v1/hypervisor_types.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,9 @@ type OperatingSystemStatus struct {
175175
// KernelVersion
176176
KernelVersion string `json:"kernelVersion,omitempty"`
177177

178+
// KernelCommandLine contains the raw kernel boot parameters from /proc/cmdline.
179+
KernelCommandLine string `json:"kernelCommandLine,omitempty"`
180+
178181
// HardwareVendor
179182
HardwareVendor string `json:"hardwareVendor,omitempty"`
180183

applyconfigurations/api/v1/capabilities.go

Lines changed: 8 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

applyconfigurations/api/v1/cell.go

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

applyconfigurations/api/v1/domaincapabilities.go

Lines changed: 41 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

applyconfigurations/api/v1/eviction.go

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

applyconfigurations/api/v1/evictionspec.go

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

applyconfigurations/api/v1/evictionstatus.go

Lines changed: 7 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

applyconfigurations/api/v1/hypervisor.go

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

applyconfigurations/api/v1/hypervisorspec.go

Lines changed: 29 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

applyconfigurations/api/v1/hypervisorstatus.go

Lines changed: 38 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)