mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-25 03:02:17 +00:00
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:
parent
33ade410f3
commit
117cb58609
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user