Manpages

名 前

libguestfs-make-fixed-appliance - libguestfs 向 け "fixed appliance" (固 定 ア プ ラ イ ア ン ス ) を 作 成 し ま す

書 式

libguestfs-make-fixed-appliance [--options] OUTPUTDIR
libguestfs-make-fixed-appliance [--options] --xz

説 明

libguestfs-make-fixed-appliance に よ り 、 事 前 に 構 築 さ れ た バ イ ナ リ ー の libguestfs 向 け ア プ ラ イ ア ン ス を 作 成 で き ま す 。

Note that ordinary users should not need to run this tool.

Some reasons why you might want to use this include:

You want to make a self-contained libguestfs appliance that can be copied to another machine or platform that doesn’t support supermin(1).

You have multiple users on the same machine and want to avoid the storage duplication and start-up overhead of having multiple cached copies of the appliance.

You want to have very predictable performance from libguestfs (see guestfs-performance(1)).

For deeper understanding of why you might need this tool, read "FIXED APPLIANCE" in guestfs-internals(1).

Instead of running this tool, you can download fixed appliances from http://libguestfs.org/download/binaries/appliance/. These appliances were made using this tool. こ の ツ ー ル を 使 用 す る 方 法 が 二 つ あ り ま す 。

• 出 力 デ ィ レ ク ト リ ー を 指 定 し ま す 、 た と え ば :

libguestfs-make-fixed-appliance /usr/local/lib/guestfs/appliance 出 力 デ ィ レ ク ト リ ー が 存 在 し な け れ ば 、 作 成 さ れ ま す 。 4 つ の フ ァ イ ル が こ の デ ィ レ ク ト リ ー に 作 成 さ れ ま す :

<OUTPUTDIR>/kernel
<OUTPUTDIR>/initrd
<OUTPUTDIR>/root
<OUTPUTDIR>/README.fixed

"OUTPUTDIR/root" は ス パ ー ス な フ ァ イ ル の た め 、 こ れ を コ ピ ー す る と き に 注 意 す る 必 要 が あ り ま す 。

You can then run libguestfs (possibly after copying this directory to another machine) by setting the environment variable LIBGUESTFS_PATH to "OUTPUTDIR".

• 圧 縮

tar フ ァ イ ル を 作 成 す る 、 も う 一 つ の 方 法 は --xz オ プ シ ョ ン を 使 用

す る こ と で す :

libguestfs-make-fixed-appliance --xz こ れ は 呼 び 出 し た カ レ ン ト デ ィ レ ク ト リ ー に tar フ ァ イ ル を 作 成 し ま す :

appliance-<VERSION>.tar.xz

(こ こ で "VERSION" は libguestfs の バ ー ジ ョ ン で す )。 tar フ ァ イ ル は 4 つ の フ ァ イ ル を 含 み ま す :

appliance/kernel
appliance/initrd
appliance/root
appliance/README.fixed

"appliance/root" は ス パ ー ス フ ァ イ ル で あ る た め 、 コ ピ ー す る と き に は 気 を つ け る 必 要 が あ る た め 、 注 意 し て く だ さ い 。

オ プ シ ョ ン

--help 簡 単 な 使 用 法 を 表 示 し て 、 終 了 し ま す 。

-V

--version バ ー ジ ョ ン 番 号 を 表 示 し て 、 終 了 し ま す 。
--xz

Instead of creating the appliance in an output directory, create a compressed tarball of the appliance in the current directory called appliance-VERSION.tar.xz where "VERSION" is the version of libguestfs.

Using --xz can take some time. If working normally, the tool is completely silent when it is running.

ラ イ セ ン ス

The fixed appliance is a complete Linux binary distro. If you distribute it, you may need to distribute corresponding source files to remain in legal compliance with the licenses of the software in the appliance (such as the GNU General Public License).

終 了 ス テ ー タ ス

ア プ ラ イ ア ン ス が エ ラ ー な く ビ ル ド さ れ る と 、 libguestfs-make-fixed-appliance は 0 を 返 し ま す 。

環 境 変 数

libguestfs に 影 響 す る 環 境 変 数 の 完 全 な 一 覧 は guestfs(3) マ ニ ュ ア ル ペ ー ジ を 参 照 し て く だ さ い 。

関 連 項 目

guestfs(3), supermin(1), xz(1), http://libguestfs.org/, http://qemu.org/.

著 者

Richard W.M. Jones ("rjones at redhat dot com")

COPYRIGHT

Copyright (C) 2009-2023 Red Hat Inc.

LICENSE

BUGS

To get a list of bugs against libguestfs, use this link: https://bugzilla.redhat.com/buglist.cgi?component=libguestfs&product=Virtualization+Tools

To report a new bug against libguestfs, use this link: https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools

When reporting a bug, please supply:

The version of libguestfs.

Where you got libguestfs (eg. which Linux distro, compiled from source, etc)

Describe the bug accurately and give a way to reproduce it.

Run libguestfs-test-tool(1) and paste the complete, unedited output into the bug report.