runtime: remove not used shim configurations

ShimPath and ShimDebug are not needed anymore.

Fixes: #6147

Signed-off-by: d3c3mber <tangbo_gl_2022@163.com>
This commit is contained in:
d3c3mber
2023-02-07 14:06:12 +08:00
parent a34f36f8f4
commit 390916b33c
2 changed files with 1 additions and 9 deletions

View File

@@ -213,7 +213,6 @@ type RuntimeConfigOptions struct {
ImagePath string
KernelParams string
MachineType string
ShimPath string
LogPath string
BlockDeviceDriver string
BlockDeviceAIO string
@@ -236,7 +235,6 @@ type RuntimeConfigOptions struct {
HypervisorDebug bool
RuntimeDebug bool
RuntimeTrace bool
ShimDebug bool
AgentDebug bool
AgentTrace bool
EnablePprof bool
@@ -323,10 +321,6 @@ func MakeRuntimeConfigFileData(config RuntimeConfigOptions) string {
shared_fs = "` + config.SharedFS + `"
virtio_fs_daemon = "` + config.VirtioFSDaemon + `"
[shim.kata]
path = "` + config.ShimPath + `"
enable_debug = ` + strconv.FormatBool(config.ShimDebug) + `
[agent.kata]
enable_debug = ` + strconv.FormatBool(config.AgentDebug) + `
enable_tracing = ` + strconv.FormatBool(config.AgentTrace) + `