mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-17 15:38:00 +00: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:
parent
64984667ad
commit
9b73900ba6
@ -93,6 +93,11 @@ var noTraceKernelParam = []vc.Param{
|
|||||||
Key: "systemd.mask",
|
Key: "systemd.mask",
|
||||||
Value: "tmp.mount",
|
Value: "tmp.mount",
|
||||||
},
|
},
|
||||||
|
// No random seed
|
||||||
|
{
|
||||||
|
Key: "systemd.mask",
|
||||||
|
Value: "systemd-random-seed.service",
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
func getKernelParams(needSystemd, trace bool) []vc.Param {
|
func getKernelParams(needSystemd, trace bool) []vc.Param {
|
||||||
|
Loading…
Reference in New Issue
Block a user