@@ -56,9 +56,6 @@ type Node struct {
5656 Kind []string `json:"kind"`
5757 Hostname string `json:"hostname"`
5858 DiskImage string `json:"diskImage"`
59- KernelCmdLine string `json:"kernelCmdLine,omitempty"`
60- Initramfs string `json:"initramfs,omitempty"`
61- Kernel string `json:"kernel,omitempty"`
6259 InternalIP string `json:"internalIP"`
6360 PodmanVersion string `json:"podmanVersion,omitempty"`
6461}
@@ -145,24 +142,6 @@ func (bundle *CrcBundleInfo) GetSSHKeyPath() string {
145142 return bundle .resolvePath (bundle .ClusterInfo .SSHPrivateKeyFile )
146143}
147144
148- func (bundle * CrcBundleInfo ) GetKernelPath () string {
149- if bundle .Nodes [0 ].Kernel == "" {
150- return ""
151- }
152- return bundle .resolvePath (bundle .Nodes [0 ].Kernel )
153- }
154-
155- func (bundle * CrcBundleInfo ) GetInitramfsPath () string {
156- if bundle .Nodes [0 ].Initramfs == "" {
157- return ""
158- }
159- return bundle .resolvePath (bundle .Nodes [0 ].Initramfs )
160- }
161-
162- func (bundle * CrcBundleInfo ) GetKernelCommandLine () string {
163- return bundle .Nodes [0 ].KernelCmdLine
164- }
165-
166145func (bundle * CrcBundleInfo ) GetBundleBuildTime () (time.Time , error ) {
167146 return time .Parse (time .RFC3339 , strings .TrimSpace (bundle .BuildInfo .BuildTime ))
168147}
@@ -200,8 +179,6 @@ func (bundle *CrcBundleInfo) verify() error {
200179 files := []string {
201180 bundle .GetSSHKeyPath (),
202181 bundle .GetDiskImagePath (),
203- bundle .GetKernelPath (),
204- bundle .GetInitramfsPath (),
205182 bundle .GetOcPath (),
206183 bundle .GetKubeConfigPath ()}
207184
0 commit comments