mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-22 06:54:30 +01:00
Merge pull request #1322 from wainersm/osbuilder_misc-1
osbuilder: miscelaneous fixes/improvements
This commit is contained in:
@@ -65,6 +65,13 @@ This section describes the terms used for all documentation in this repository.
|
||||
A guest OS build method where the building host is used as the Base OS.
|
||||
For more information refer to the [dracut homepage](https://dracut.wiki.kernel.org/index.php/Main_Page).
|
||||
|
||||
- Agent init
|
||||
|
||||
The Guest OS should have the Kata Containers agent started on boot time.
|
||||
|
||||
That is achieved by using a system manager (for example, systemd) which
|
||||
will evoke the agent binary; or having the agent itself as the init process.
|
||||
|
||||
## Building
|
||||
|
||||
The top-level `Makefile` contains an example of how to use the available components.
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
From docker.io/fedora:latest
|
||||
From registry.fedoraproject.org/fedora:latest
|
||||
|
||||
RUN [ -n "$http_proxy" ] && sed -i '$ a proxy='$http_proxy /etc/dnf/dnf.conf ; true
|
||||
|
||||
|
||||
@@ -113,7 +113,7 @@ Rootfs: partition that contains the root filesystem (/usr, /bin, ect).
|
||||
|
||||
Kernels and hypervisors that support DAX/NVDIMM read the MBR #2, otherwise MBR #1 is read.
|
||||
|
||||
[1] - https://github.com/kata-containers/osbuilder/blob/master/image-builder/nsdax.gpl.c
|
||||
[1] - https://github.com/kata-containers/kata-containers/blob/main/tools/osbuilder/image-builder/nsdax.gpl.c
|
||||
[2] - https://github.com/torvalds/linux/blob/master/drivers/nvdimm/pfn.h
|
||||
|
||||
EOT
|
||||
|
||||
@@ -50,7 +50,7 @@ $ ./rootfs.sh -r "$PWD/kata-overlay"
|
||||
|
||||
The rootfs must provide at least the following components:
|
||||
|
||||
- [Kata agent](https://github.com/kata-containers/agent)
|
||||
- [Kata agent](https://github.com/kata-containers/kata-containers/tree/main/src/agent)
|
||||
|
||||
Path: `/bin/kata-agent` - Kata Containers guest.
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
From docker.io/centos:@OS_VERSION@
|
||||
From registry.centos.org/centos:@OS_VERSION@
|
||||
|
||||
@SET_PROXY@
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
From docker.io/fedora:@OS_VERSION@
|
||||
From registry.fedoraproject.org/fedora:@OS_VERSION@
|
||||
|
||||
@SET_PROXY@
|
||||
|
||||
|
||||
@@ -147,7 +147,7 @@ DOCKER_RUNTIME Docker runtime to use when USE_DOCKER is set.
|
||||
|
||||
Refer to the Platform-OS Compatibility Matrix for more details on the supported
|
||||
architectures:
|
||||
https://github.com/kata-containers/osbuilder#platform-distro-compatibility-matrix
|
||||
https://github.com/kata-containers/kata-containers/tree/main/tools/osbuilder#platform-distro-compatibility-matrix
|
||||
|
||||
EOT
|
||||
exit "${error}"
|
||||
|
||||
Reference in New Issue
Block a user