
=begin коментар

libguestfs generated file
 WARNING: THIS FILE IS GENERATED FROM THE FOLLOWING FILES:
          generator/customize.ml
          and from the code in the generator/ subdirectory.
 ANY CHANGES YOU MAKE TO THIS FILE WILL BE LOST.

 Copyright (C) 2009-2017 Red Hat Inc.

 Ця програма є вільним програмним забезпеченням; ви можете поширювати та/або
 змінювати її за умов дотримання GNU General Public License  утому вигляді, що
 оприлюднений Free Software Foundation; версії 2 цієї Ліцензії, або (якщо
 забажаєте) будь-якої випущеної пізніше.

 Ця програма поширюється у сподіванні, що вона буде корисною, але БЕЗ
 БУДЬ-ЯКИХ ГАРАНТІЙНИХ ЗОБОВ’ЯЗАНЬ; навіть без очевидної гарантії
 ПРАЦЕЗДАТНОСТІ або ПРИДАТНОСТІ ДЛЯ ВИКОРИСТАННЯ З ПЕВНОЮ МЕТОЮ. Докладніше
 про це можна дізнатися з GNU General Public License.

 Ви маєте отримати копію GNU General Public License разом з цією програмою;
 якщо це не так, повідомте про факт за адресою Free Software Foundation, Inc.,
 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

=end коментар

=over 4

=item B<--append-line> FILE:LINE

Append a single line of text to the C<FILE>.  If the file does not already
end with a newline, then one is added before the appended line.  Also a
newline is added to the end of the C<LINE> string automatically.

For example (assuming ordinary shell quoting) this command:

 --append-line '/etc/hosts:10.0.0.1 foo'

will add either C<10.0.0.1 foo⏎> or C<⏎10.0.0.1 foo⏎> to the file, the
latter only if the existing file does not already end with a newline.

C<⏎> represents a newline character, which is guessed by looking at the
existing content of the file, so this command does the right thing for files
using Unix or Windows line endings.  It also works for empty or non-existent
files.

To insert several lines, use the same option several times:

 --append-line '/etc/hosts:10.0.0.1 foo'
 --append-line '/etc/hosts:10.0.0.2 bar'

To insert a blank line before the appended line, do:

 --append-line '/etc/hosts:'
 --append-line '/etc/hosts:10.0.0.1 foo'

=item B<--chmod> ПРАВА_ДОСТУПУ:ФАЙЛ

Змінити права доступу до файла C<ФАЙЛ> на C<ПРАВА_ДОСТУПУ>.

I<Зауваження>: типово C<ПРАВА_ДОСТУПУ> записуються у десятковому форматі,
якщо ви не додасте початковий C<0> , щоб вказати вісімкове число, тобто
скористаєтеся C<0700>, а не C<700>.

=item B<--commands-from-file> НАЗВА_ФАЙЛА

Прочитати команди налаштовування з файла, по одній (разом із аргументами) на
рядок.

Кожен рядок містить команду налаштовування та її аргументи, наприклад:

 delete /якийсь/файл
 install якийсь_пакунок
 password якийсь-користувач:password:його-новий-пароль

Empty lines are ignored, and lines starting with C<#> are comments and are
ignored as well.  Furthermore, arguments can be spread across multiple
lines, by adding a C<\> (continuation character) at the of a line, for
example

 edit /якийсь/файл:\
   s/^OPT=.*/OPT=ok/

The commands are handled in the same order as they are in the file, as if
they were specified as I<--delete /some/file> on the command line.

=item B<--copy> ДЖЕРЕЛО:ПРИЗНАЧЕННЯ

Копіювати файли або каталоги рекурсивно у межах гостьової системи.

Не можна використовувати символи-замінники.

=item B<--copy-in> ЛОКАЛЬНИЙ_ШЛЯХ:ВІДДАЛЕНИЙ_КАТАЛОГ

Copy local files or directories recursively into the disk image, placing
them in the directory C<REMOTEDIR> (which must exist).

Не можна використовувати символи-замінники.

=item B<--delete> ШЛЯХ

Вилучити файл з гостьової системи. Або вилучити каталог (і увесь його вміст,
рекурсивно).

You can use shell glob characters in the specified path.  Be careful to
escape glob characters from the host shell, if that is required.  For
example:

 virt-customize --delete '/var/log/*.log'.

Див. також I<--upload>, I<--scrub>.

=item B<--edit> ФАЙЛ:ВИРАЗ

Edit C<FILE> using the Perl expression C<EXPR>.

Be careful to properly quote the expression to prevent it from being altered
by the shell.

Note that this option is only available when Perl 5 is installed.

Див. L<virt-edit(1)/NON-INTERACTIVE EDITING>.

=item B<--firstboot> СКРИПТ

Install C<SCRIPT> inside the guest, so that when the guest first boots up,
the script runs (as root, late in the boot process).

The script is automatically chmod +x after installation in the guest.

The alternative version I<--firstboot-command> is the same, but it
conveniently wraps the command up in a single line script for you.

You can have multiple I<--firstboot> options.  They run in the same order
that they appear on the command line.

Please take a look at L<virt-builder(1)/FIRST BOOT SCRIPTS> for more
information and caveats about the first boot scripts.

Див. також I<--run>.

=item B<--firstboot-command> 'КОМАНДА+ПАРАМЕТРИ'

Run command (and arguments) inside the guest when the guest first boots up
(as root, late in the boot process).

You can have multiple I<--firstboot> options.  They run in the same order
that they appear on the command line.

Please take a look at L<virt-builder(1)/FIRST BOOT SCRIPTS> for more
information and caveats about the first boot scripts.

Див. також I<--run>.

=item B<--firstboot-install> ПАКУНОК,ПАКУНОК..

Install the named packages (a comma-separated list).  These are installed
when the guest first boots using the guest's package manager (eg. apt, yum,
etc.) and the guest's network connection.

For an overview on the different ways to install packages, see
L<virt-builder(1)/INSTALLING PACKAGES>.

=item B<--hostname> НАЗВА_ВУЗЛА

Set the hostname of the guest to C<HOSTNAME>.  You can use a dotted
hostname.domainname (FQDN) if you want.

=item B<--install> ПАКУНОК,ПАКУНОК..

Install the named packages (a comma-separated list).  These are installed
during the image build using the guest's package manager (eg. apt, yum,
etc.) and the host's network connection.

For an overview on the different ways to install packages, see
L<virt-builder(1)/INSTALLING PACKAGES>.

See also I<--update>, I<--uninstall>.

=item B<--link> TARGET:LINK[:LINK..]

Create symbolic link(s) in the guest, starting at C<LINK> and pointing at
C<TARGET>.

=item B<--mkdir> КАТАЛОГ

Створити каталог у гостьовій системі.

This uses S<C<mkdir -p>> so any intermediate directories are created, and it
also works if the directory already exists.

=item B<--move> ДЖЕРЕЛО:ПРИЗНАЧЕННЯ

Пересунути файли або каталоги у межах гостьової системи.

Не можна використовувати символи-замінники.

=item B<--no-logfile>

Scrub C<builder.log> (log file from build commands) from the image after
building is complete.  If you don't want to reveal precisely how the image
was built, use this option.

Див. також L</LOG FILE>.

=item B<--password> КОРИСТУВАЧ:ВАРІАНТ

Set the password for C<USER>.  (Note this option does I<not> create the user
account).

See L<virt-builder(1)/USERS AND PASSWORDS> for the format of the C<SELECTOR>
field, and also how to set up user accounts.

=item B<--password-crypto> md5|sha256|sha512

When the virt tools change or set a password in the guest, this option sets
the password encryption of that password to C<md5>, C<sha256> or C<sha512>.

C<sha256> and C<sha512> require glibc E<ge> 2.7 (check crypt(3) inside the
guest).

C<md5> працюватиме з відносно давніми гостьовими системами Linux
(наприкладRHEL 3), але є незахищеним щодо новітніх способів атак.

Типовим способом шифрування є C<sha512>. Він використовується, якщо
libguestfs вдасться виявити у гостьовій системі підтримку SHA-512. Якщо
такої підтримки не буде виявлено, використовуватиметься C<md5>. За допомогою
цього параметра ви можете перевизначити автоматично визначений libguestfs
спосіб шифрування.

Note this does not change the default password encryption used by the guest
when you create new user accounts inside the guest.  If you want to do that,
then you should use the I<--edit> option to modify
C</etc/sysconfig/authconfig> (Fedora, RHEL) or C</etc/pam.d/common-password>
(Debian, Ubuntu).

=item B<--root-password> SELECTOR

Встановити пароль користувача root.

See L<virt-builder(1)/USERS AND PASSWORDS> for the format of the C<SELECTOR>
field, and also how to set up user accounts.

Note: In virt-builder, if you I<don't> set I<--root-password> then the guest
is given a I<random> root password.

=item B<--run> СКРИПТ

Run the shell script (or any program) called C<SCRIPT> on the disk image.
The script runs virtualized inside a small appliance, chrooted into the
guest filesystem.

The script is automatically chmod +x.

If libguestfs supports it then a limited network connection is available but
it only allows outgoing network connections.  You can also attach data disks
(eg. ISO files) as another way to provide data (eg. software packages) to
the script without needing a network connection (I<--attach>).  You can also
upload data files (I<--upload>).

You can have multiple I<--run> options.  They run in the same order that
they appear on the command line.

Див. також I<--firstboot>, I<--attach>, I<--upload>.

=item B<--run-command> 'КОМАНДА+ПАРАМЕТРИ'

Run the command and arguments on the disk image.  The command runs
virtualized inside a small appliance, chrooted into the guest filesystem.

If libguestfs supports it then a limited network connection is available but
it only allows outgoing network connections.  You can also attach data disks
(eg. ISO files) as another way to provide data (eg. software packages) to
the script without needing a network connection (I<--attach>).  You can also
upload data files (I<--upload>).

You can have multiple I<--run-command> options.  They run in the same order
that they appear on the command line.

Див. також I<--firstboot>, I<--attach>, I<--upload>.

=item B<--scrub> ФАЙЛ

Витерти файл з гостьової системи. Подібне до I<--delete>, окрім того, що:

=over 4

=item *

It scrubs the data so a guest could not recover it.

=item *

It cannot delete directories, only regular files.

=back

=item B<--selinux-relabel>

Relabel files in the guest so that they have the correct SELinux label.

This will attempt to relabel files immediately, but if the operation fails
this will instead touch F</.autorelabel> on the image to schedule a relabel
operation for the next time the image boots.

You should only use this option for guests which support SELinux.

=item B<--sm-attach> SELECTOR

Attach to a pool using C<subscription-manager>.

See L<virt-builder(1)/SUBSCRIPTION-MANAGER> for the format of the
C<SELECTOR> field.

=item B<--sm-credentials> SELECTOR

Set the credentials for C<subscription-manager>.

See L<virt-builder(1)/SUBSCRIPTION-MANAGER> for the format of the
C<SELECTOR> field.

=item B<--sm-register>

Register the guest using C<subscription-manager>.

This requires credentials being set using I<--sm-credentials>.

=item B<--sm-remove>

Remove all the subscriptions from the guest using C<subscription-manager>.

=item B<--sm-unregister>

Unregister the guest using C<subscription-manager>.

=item B<--ssh-inject> КОРИСТУВАЧ[:ВАРІАНТ]

Inject an ssh key so the given C<USER> will be able to log in over ssh
without supplying a password.  The C<USER> must exist already in the guest.

See L<virt-builder(1)/SSH KEYS> for the format of the C<SELECTOR> field.

You can have multiple I<--ssh-inject> options, for different users and also
for more keys for each user.

=item B<--timezone> ЧАСОВИЙ_ПОЯС

Set the default timezone of the guest to C<TIMEZONE>.  Use a location string
like C<Europe/London>

=item B<--touch> ФАЙЛ

This command performs a L<touch(1)>-like operation on C<FILE>.

=item B<--truncate> ФАЙЛ

This command truncates C<FILE> to a zero-length file. The file must exist
already.

=item B<--truncate-recursive> ШЛЯХ

This command recursively truncates all files under C<PATH> to zero-length.

=item B<--uninstall> ПАКУНОК,ПАКУНОК..

Uninstall the named packages (a comma-separated list).  These are removed
during the image build using the guest's package manager (eg. apt, yum,
etc.).  Dependent packages may also need to be uninstalled to satisfy the
request.

See also I<--install>, I<--update>.

=item B<--update>

Do the equivalent of C<yum update>, C<apt-get upgrade>, or whatever command
is required to update the packages already installed in the template to
their latest versions.

See also I<--install>, I<--uninstall>.

=item B<--upload> ФАЙЛ:ПРИЗНАЧЕННЯ

Upload local file C<FILE> to destination C<DEST> in the disk image.  File
owner and permissions from the original are preserved, so you should set
them to what you want them to be in the disk image.

C<DEST> could be the final filename.  This can be used to rename the file on
upload.

If C<DEST> is a directory name (which must already exist in the guest)  then
the file is uploaded into that directory, and it keeps the same name as on
the local filesystem.

Див. також I<--mkdir>, I<--delete>, I<--scrub>.

=item B<--write> ФАЙЛ:ДАНІ

Записати C<ДАНІ> до файла C<ФАЙЛ>.

=back

