← 返回命令列表

Linux command

kiwi-ng 命令

安全

权限或系统影响较大,执行前请核对目标。

常用示例

Build image from description

sudo kiwi-ng system build --description [path] --target-dir [output]

Create image with custom repo

sudo kiwi-ng system build --description [path] --set-repo [repo-url] --target-dir [output]

List available image types

kiwi-ng image list

Prepare image root

sudo kiwi-ng system prepare --description [path] --root [rootdir]

说明

kiwi-ng is a command-line tool for building Linux operating system images. Supports various output formats including ISOs, virtual machine images, containers, and cloud images. Uses XML-based descriptions to define image configuration.

参数

system build
Build complete image from description.
system prepare
Prepare image root filesystem.
--description _path_
Path to image description.
--target-dir _path_
Output directory for images.
--set-repo _url_
Set repository URL.
--profile _name_
Build specific profile.

FAQ

What is the kiwi-ng command used for?

kiwi-ng is a command-line tool for building Linux operating system images. Supports various output formats including ISOs, virtual machine images, containers, and cloud images. Uses XML-based descriptions to define image configuration.

How do I run a basic kiwi-ng example?

Run `sudo kiwi-ng system build --description [path] --target-dir [output]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does system build do in kiwi-ng?

Build complete image from description.