This repository has been archived by the owner on May 12, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/katautils: Do not set
init
in the kernel command line
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 <[email protected]>
- Loading branch information