mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-26 10:34:24 +01:00
katautils: mask systemd-random-seed
systemd-random-seed service fails if the rootfs is a read-only fs. systemd-random-seed restores the random seed of the system at early boot and saves it at shutdown, since kata containers are one boot machines this service is not needed. Signed-off-by: Julio Montes <julio.montes@intel.com>
This commit is contained in:
@@ -93,6 +93,11 @@ var noTraceKernelParam = []vc.Param{
|
||||
Key: "systemd.mask",
|
||||
Value: "tmp.mount",
|
||||
},
|
||||
// No random seed
|
||||
{
|
||||
Key: "systemd.mask",
|
||||
Value: "systemd-random-seed.service",
|
||||
},
|
||||
}
|
||||
|
||||
func getKernelParams(needSystemd, trace bool) []vc.Param {
|
||||
|
||||
Reference in New Issue
Block a user