From 117cb58609bba3df81cf272fd736aede8280a0bc Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Wed, 28 Mar 2018 15:53:00 +0100 Subject: [PATCH] docs: Disable initrd in dev guide Add details on how to disable the `initrd` config option to ensure the base system as documented is functional. Fixes #42. Signed-off-by: James O. D. Hunt --- Developer-Guide.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Developer-Guide.md b/Developer-Guide.md index 6d7b2d4098..0ebba7f467 100644 --- a/Developer-Guide.md +++ b/Developer-Guide.md @@ -2,6 +2,7 @@ * [Assumptions](#assumptions) * [Build and install a Kata Containers runtime](#build-and-install-a-kata-containers-runtime) * [Check hardware requirements](#check-hardware-requirements) + * [Disable initrd](#disable-initrd) * [Enable full debug](#enable-full-debug) * [Build and install Kata proxy](#build-and-install-kata-proxy) * [Build and install Kata shim](#build-and-install-kata-shim) @@ -62,6 +63,16 @@ $ sudo kata-runtime kata-check If your system is *not* able to run Kata Containers, the previous command will error and explain why. +## Disable initrd + +Unless you use an initial ramdisk (`initrd` or `initramfs`): + +``` +$ sudo sed -i 's/^\(initrd.*\)/# \1/g' /usr/share/defaults/kata-containers/configuration.toml +``` + +If you use an initial ramdisk, see https://github.com/kata-containers/osbuilder. + ## Enable full debug Enable full debug as follows: