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 <james.o.hunt@intel.com>
This commit is contained in:
James O. D. Hunt 2018-03-28 15:53:00 +01:00
parent 33ade410f3
commit 117cb58609

View File

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