mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-27 19:35:32 +00:00
osbuilder: add description for how to use DISTRO variable
Fixes: #1312 Signed-off-by: bin <bin@hyper.sh>
This commit is contained in:
parent
5aef2faa4d
commit
8e2b19ac77
@ -95,6 +95,9 @@ filesystem components to generate an initrd.
|
||||
3. When generating an image, the initrd is extracted to obtain the base rootfs for
|
||||
the image.
|
||||
|
||||
CentOS is the default distro for building the rootfs, to use a different one, you can set `DISTRO=<your_distro>`.
|
||||
For example `make USE_DOCKER=true DISTRO=ubuntu rootfs` will make Ubuntu rootfs using Docker.
|
||||
|
||||
### Rootfs creation
|
||||
|
||||
This section shows how to build a basic rootfs using the default distribution.
|
||||
|
Loading…
Reference in New Issue
Block a user