Skip to content

Commit c971fc1

Browse files
authored
Merge pull request #244 from cobaltcore-dev/feature/add-kernel-parameters
Add KernelCommandLine to OperatingSystemStatus
2 parents 8f1e688 + 77e78a9 commit c971fc1

3 files changed

Lines changed: 16 additions & 0 deletions

File tree

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/operatingsystemstatus.go

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

config/crd/bases/kvm.cloud.sap_hypervisors.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,10 @@ spec:
463463
hardwareVendor:
464464
description: HardwareVendor
465465
type: string
466+
kernelCommandLine:
467+
description: KernelCommandLine contains the raw kernel boot parameters
468+
from /proc/cmdline.
469+
type: string
466470
kernelName:
467471
description: KernelName
468472
type: string

0 commit comments

Comments
 (0)