mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-30 20:44:26 +01:00
Currently kata sets the init process to systemd even when it isn't installed, the criteria to determinate whether systemd is used as init or not is very odd, since kata only checks whether the `image` option is set in the configuration file, unfortunately not all images have systemd installed. Instead kata should rely on the guest kernel and `osbuilder` to use the right init process. `osbuilder` creates a symbolic link to `systemd` or `kata-agent` depending on the `AGENT_INIT` environment variable. fixes #1937 Signed-off-by: Julio Montes <julio.montes@intel.com>
Kata utilities packages
The katautils package contains useful functions that are shared by various
parts of the codebase, including the runtime and the container v2 shim.