mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-02 00:02:01 +00:00
Merge pull request #1313 from liubin/doc/add-distro-desc
osbuilder: add description for how to use DISTRO variable
This commit is contained in:
commit
9a02c81eb9
@ -102,6 +102,9 @@ filesystem components to generate an initrd.
|
|||||||
3. When generating an image, the initrd is extracted to obtain the base rootfs for
|
3. When generating an image, the initrd is extracted to obtain the base rootfs for
|
||||||
the image.
|
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
|
### Rootfs creation
|
||||||
|
|
||||||
This section shows how to build a basic rootfs using the default distribution.
|
This section shows how to build a basic rootfs using the default distribution.
|
||||||
|
Loading…
Reference in New Issue
Block a user