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:
Julio Montes 2019-03-20 09:00:23 -06:00
parent 64984667ad
commit 9b73900ba6

View File

@ -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 {