mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-29 08:47:56 +00:00
Firecracker: Fix kernel command line parameters
Firecracker does not support pci. It also uses kbd to implement reboot/reset. Fix the kernel boot params to address this. It also does not have good entropy at startup. Use the hardware random number generator to support entropy. Fixes: #1620 Signed-off-by: Manohar Castelino <manohar.r.castelino@intel.com>
This commit is contained in:
parent
ea71133d1a
commit
c15577565e
@ -57,6 +57,13 @@ const (
|
||||
var fcKernelParams = []Param{
|
||||
// The boot source is the first partition of the first block device added
|
||||
{"root", "/dev/vda1"},
|
||||
{"pci", "off"},
|
||||
{"reboot", "k"},
|
||||
{"panic", "1"},
|
||||
{"iommu", "off"},
|
||||
{"8250.nr_uarts", "0"},
|
||||
{"net.ifnames", "0"},
|
||||
{"random.trust_cpu", "on"},
|
||||
|
||||
// Firecracker doesn't support ACPI
|
||||
// Fix kernel error "ACPI BIOS Error (bug)"
|
||||
|
Loading…
Reference in New Issue
Block a user