Scroll to navigation

libguestfs-make-fixed-appliance(1) Virtualization Support libguestfs-make-fixed-appliance(1)

НАЗВА

libguestfs-make-fixed-appliance - Make a "fixed appliance" for libguestfs

КОРОТКИЙ ОПИС

 libguestfs-make-fixed-appliance [--параметри] КАТАЛОГ_ВИВЕДЕННЯ

 libguestfs-make-fixed-appliance [--параметри] --xz

ОПИС

libguestfs-make-fixed-appliance надає вам змогу створити попередньо зібрану бінарну базову систему для libguestfs.

Зауважте, що у звичайних користувачів не повинно виникнути потреби у запуску цієї програми.

Декілька причин, з яких у вас може виникнути потребу у використанні цього інструмента:

  • 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.
  • Вам потрібна дуже передбачувана щодо швидкодії система з libguestfs (див. 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
        

    Якщо каталогу виведення даних ще не існує, його буде створено. У цьому каталозі буде створено чотири файли:

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

    Note that "OUTPUTDIR/root" is a sparse file, so take care when copying it.

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

  • The alternative method is to use the --xz option to create a compressed tarball:

     libguestfs-make-fixed-appliance --xz
        

    Буде створено архів у поточному каталозі з назвою:

     appliance-<ВЕРСІЯ>.tar.xz
        

    (where "VERSION" is the version of libguestfs). The tarball contains the four files:

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

    Note that "appliance/root" is a sparse file, so take care when copying it.

ПАРАМЕТРИ

--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, якщо базову систему було зібрано без помилок.

ЗМІННІ СЕРЕДОВИЩА

For the full list of environment variables which may affect libguestfs, please see the guestfs(3) manual page.

ТАКОЖ ПЕРЕГЛЯНЬТЕ

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

АВТОРИ

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

АВТОРСЬКІ ПРАВА

© Red Hat Inc., 2009–2016

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.
2017-03-08 libguestfs-1.34.6