diff --git a/tools/osbuilder/image-builder/image_builder.sh b/tools/osbuilder/image-builder/image_builder.sh index 6f18946b45..a1576cd478 100755 --- a/tools/osbuilder/image-builder/image_builder.sh +++ b/tools/osbuilder/image-builder/image_builder.sh @@ -86,8 +86,8 @@ Options: Extra environment variables: AGENT_BIN: Use it to change the expected agent binary name AGENT_INIT: Use kata agent as init process - NSDAX_BIN: Use to specify path to pre-compiled 'nsdax' tool. FS_TYPE: Filesystem type to use. Only xfs and ext4 are supported. + NSDAX_BIN: Use to specify path to pre-compiled 'nsdax' tool. USE_DOCKER: If set will build image in a Docker Container (requries docker) DEFAULT: not set USE_PODMAN: If set and USE_DOCKER not set, will build image in a Podman Container (requries podman) diff --git a/tools/osbuilder/rootfs-builder/rootfs.sh b/tools/osbuilder/rootfs-builder/rootfs.sh index dce1b94c8f..8005515022 100755 --- a/tools/osbuilder/rootfs-builder/rootfs.sh +++ b/tools/osbuilder/rootfs-builder/rootfs.sh @@ -100,12 +100,6 @@ AGENT_INIT When set to "yes", use ${AGENT_BIN} as init process in place of systemd. Default value: no -RUST_AGENT When set to "no", build kata-agent from go agent instead of kata-rust-agent - Default value: "yes" - -RUST_AGENT_PKG URL of the Git repository hosting the agent package. - Default value: ${RUST_AGENT_PKG} - AGENT_VERSION Version of the agent to include in the rootfs. Default value: ${AGENT_VERSION:-} @@ -116,6 +110,9 @@ AGENT_SOURCE_BIN Path to the directory of agent binary. DISTRO_REPO Use host repositories to install guest packages. Default value: +DOCKER_RUNTIME Docker runtime to use when USE_DOCKER is set. + Default value: runc + GO_AGENT_PKG URL of the Git repository hosting the agent package. Default value: ${GO_AGENT_PKG} @@ -133,6 +130,12 @@ KERNEL_MODULES_DIR Path to a directory containing kernel modules to include in ROOTFS_DIR Path to the directory that is populated with the rootfs. Default value: <${script_name} path>/rootfs- +RUST_AGENT When set to "no", build kata-agent from go agent instead of kata-rust-agent + Default value: "yes" + +RUST_AGENT_PKG URL of the Git repository hosting the agent package. + Default value: ${RUST_AGENT_PKG} + USE_DOCKER If set, build the rootfs inside a container (requires Docker). Default value: @@ -141,9 +144,6 @@ USE_PODMAN If set and USE_DOCKER not set, then build the rootfs inside a podman container (requires podman). Default value: -DOCKER_RUNTIME Docker runtime to use when USE_DOCKER is set. - Default value: runc - Refer to the Platform-OS Compatibility Matrix for more details on the supported architectures: https://github.com/kata-containers/kata-containers/tree/main/tools/osbuilder#platform-distro-compatibility-matrix