diff --git a/src/runtime-rs/Makefile b/src/runtime-rs/Makefile index 84ee69a38..75eb0eb13 100644 --- a/src/runtime-rs/Makefile +++ b/src/runtime-rs/Makefile @@ -178,6 +178,7 @@ MONITOR_OUTPUT = $(CURDIR)/$(MONITOR) MONITOR_DIR = $(CLI_DIR)/kata-monitor SOURCES := $(shell find . 2>&1 | grep -E '.*\.(c|h|go)$$') VERSION := ${shell cat ./VERSION} +KERNELPARAMS := "" # List of configuration files to build and install CONFIGS = @@ -212,7 +213,7 @@ ifneq (,$(DBCMD)) DEFMAXVCPUS_DB := 1 DEFBLOCKSTORAGEDRIVER_DB := virtio-blk-mmio DEFNETWORKMODEL_DB := tcfilter - KERNELPARAMS = console=ttyS1 agent.log_vport=1025 + KERNELPARAMS_DB = console=ttyS1 agent.log_vport=1025 KERNELTYPE_DB = uncompressed KERNEL_NAME_DB = $(call MAKE_KERNEL_NAME_DB,$(KERNELTYPE_DB)) KERNELPATH_DB = $(KERNELDIR)/$(KERNEL_NAME_DB) @@ -284,6 +285,7 @@ USER_VARS += MACHINEACCELERATORS USER_VARS += CPUFEATURES USER_VARS += DEFMACHINETYPE_CLH USER_VARS += KERNELPARAMS +USER_VARS += KERNELPARAMS_DB USER_VARS += LIBEXECDIR USER_VARS += LOCALSTATEDIR USER_VARS += PKGDATADIR diff --git a/src/runtime-rs/config/configuration-dragonball.toml.in b/src/runtime-rs/config/configuration-dragonball.toml.in index f4b6bcfdb..9e5bf5162 100644 --- a/src/runtime-rs/config/configuration-dragonball.toml.in +++ b/src/runtime-rs/config/configuration-dragonball.toml.in @@ -54,7 +54,7 @@ valid_hypervisor_paths = @DBVALIDHYPERVISORPATHS@ # may stop the virtual machine from booting. # To see the list of default parameters, enable hypervisor debug, create a # container and look for 'default-kernel-parameters' log entries. -kernel_params = "@KERNELPARAMS@" +kernel_params = "@KERNELPARAMS_DB@" # Path to the firmware. # If you want that DB uses the default firmware leave this option empty