There is no way to specify the remaining free space of the root partition. It can vary depending on the upper bound size of the image aligned to 128MB and the size of the root filesystem. The following patch allow the user to specify that at least a certain amount of space (defined in MB) will be kept in the root partition. Fixes: #45 Signed-off-by: Erick Cardona <erick.cardona.ruiz@intel.com> |
||
---|---|---|
.ci | ||
image-builder | ||
initrd-builder | ||
rootfs-builder | ||
tests | ||
.pullapprove.yml | ||
.travis.yml | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
Makefile | ||
README.md |
osbuilder 
The Kata Containers runtime creates a virtual machine (VM) to isolate a set of container workloads. The VM requires a guest kernel and a guest operating system ("guest OS") to boot and create containers inside the guest environment.
This repository contains tools to create a guest OS disk image.
Table of Contents
Terms
This section describes the terms used for all documentation in this repository.
-
rootfs
The root filesystem or "rootfs" is the set of files contained in the guest root directory that builds into a filesystem.
-
"Guest OS" (or "Guest Image")
A "virtual disk" or "disk image" built from a rootfs. It contains a filesystem that is used by the VM, in conjunction with a guest kernel, to create an environment to host the container. Neither the guest OS nor the guest kernel need to be the same as the host operating system.
-
initrd (or "initramfs")
A compressed cpio archive loaded into memory and used as part of the Linux startup process. During startup, the kernel unpacks it into a special instance of a tmpfs that becomes the initial root file system.
-
"Base OS"
A particular version of a Linux distribution used to create a Guest OS from.