+msgstr "ПРИКЛАД 2. ПЕРЕВІРКА ОБРАЗУ ДИСКА ВІРТУАЛЬНОЇ МАШИНИ"
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:95
+#: ../examples/guestfs-examples.pod:31 ../java/examples/guestfs-java.pod:43
+#: ../ocaml/examples/guestfs-ocaml.pod:76 ../perl/examples/guestfs-perl.pod:37
+#: ../python/examples/guestfs-python.pod:40
+#: ../ruby/examples/guestfs-ruby.pod:34
+msgid "@EXAMPLE2@"
+msgstr "@EXAMPLE2@"
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:99
+msgid ""
+"L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)"
+">, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-recipes(1)>, "
+"L<guestfs-ruby(3)>, L<http://www.erlang.org/>. L<http://libguestfs.org/>."
+msgstr ""
+
+#. type: =head1
+#: ../erlang/examples/guestfs-erlang.pod:110
+#: ../examples/guestfs-examples.pod:45 ../examples/guestfs-recipes.pod:397
+#: ../examples/guestfs-testing.pod:298 ../fish/guestfish.pod:1296
+#: ../fish/virt-copy-in.pod:60 ../fish/virt-copy-out.pod:49
+#: ../fish/virt-tar-in.pod:58 ../fish/virt-tar-out.pod:51
+#: ../fuse/guestmount.pod:328 ../inspector/virt-inspector.pod:404
+#: ../java/examples/guestfs-java.pod:58 ../ocaml/examples/guestfs-ocaml.pod:91
+#: ../perl/examples/guestfs-perl.pod:52
+#: ../python/examples/guestfs-python.pod:54
+#: ../ruby/examples/guestfs-ruby.pod:48 ../src/guestfs.pod:3354
+#: ../test-tool/libguestfs-test-tool.pod:106
+msgid "AUTHORS"
+msgstr "АВТОРИ"
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:112
+#: ../examples/guestfs-examples.pod:47 ../examples/guestfs-recipes.pod:399
+#: ../examples/guestfs-testing.pod:300 ../fish/guestfish.pod:1298
+#: ../fish/virt-copy-in.pod:62 ../fish/virt-copy-out.pod:51
+#: ../fish/virt-tar-in.pod:60 ../fish/virt-tar-out.pod:53
+#: ../fuse/guestmount.pod:330 ../java/examples/guestfs-java.pod:60
+#: ../ocaml/examples/guestfs-ocaml.pod:93 ../perl/examples/guestfs-perl.pod:54
+#: ../python/examples/guestfs-python.pod:56
+#: ../ruby/examples/guestfs-ruby.pod:50 ../src/guestfs.pod:3356
+#: ../test-tool/libguestfs-test-tool.pod:108
+msgid "Richard W.M. Jones (C<rjones at redhat dot com>)"
+msgstr "Richard W.M. Jones (C<rjones at redhat dot com>)"
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:116
+#: ../examples/guestfs-testing.pod:304 ../java/examples/guestfs-java.pod:64
+#: ../perl/examples/guestfs-perl.pod:58
+msgid "Copyright (C) 2011 Red Hat Inc. L<http://libguestfs.org/>"
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:118
+#: ../examples/guestfs-examples.pod:53 ../examples/guestfs-recipes.pod:405
+#: ../java/examples/guestfs-java.pod:66 ../ocaml/examples/guestfs-ocaml.pod:99
+#: ../perl/examples/guestfs-perl.pod:60
+#: ../python/examples/guestfs-python.pod:62
+#: ../ruby/examples/guestfs-ruby.pod:56
+msgid ""
+"The examples in this manual page may be freely copied, modified and "
+"distributed without any restrictions."
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:121
+#: ../examples/guestfs-examples.pod:56 ../examples/guestfs-recipes.pod:408
+#: ../examples/guestfs-testing.pod:306 ../java/examples/guestfs-java.pod:69
+#: ../ocaml/examples/guestfs-ocaml.pod:102
+#: ../perl/examples/guestfs-perl.pod:63
+#: ../python/examples/guestfs-python.pod:65
+#: ../ruby/examples/guestfs-ruby.pod:59 ../src/guestfs.pod:3363
+msgid ""
+"This library is free software; you can redistribute it and/or modify it "
+"under the terms of the GNU Lesser General Public License as published by the "
+"Free Software Foundation; either version 2 of the License, or (at your "
+"option) any later version."
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:126
+#: ../examples/guestfs-examples.pod:61 ../examples/guestfs-recipes.pod:413
+#: ../examples/guestfs-testing.pod:311 ../java/examples/guestfs-java.pod:74
+#: ../ocaml/examples/guestfs-ocaml.pod:107
+#: ../perl/examples/guestfs-perl.pod:68
+#: ../python/examples/guestfs-python.pod:70
+#: ../ruby/examples/guestfs-ruby.pod:64 ../src/guestfs.pod:3368
+msgid ""
+"This library is distributed in the hope that it will be useful, but WITHOUT "
+"ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
+"FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License "
+"for more details."
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:131
+#: ../examples/guestfs-examples.pod:66 ../examples/guestfs-recipes.pod:418
+#: ../examples/guestfs-testing.pod:316 ../java/examples/guestfs-java.pod:79
+#: ../ocaml/examples/guestfs-ocaml.pod:112
+#: ../perl/examples/guestfs-perl.pod:73
+#: ../python/examples/guestfs-python.pod:75
+#: ../ruby/examples/guestfs-ruby.pod:69 ../src/guestfs.pod:3373
+msgid ""
+"You should have received a copy of the GNU Lesser General Public License "
+"along with this library; if not, write to the Free Software Foundation, "
+"Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-examples.pod:5
+msgid "guestfs-examples - Examples of using libguestfs from C"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-examples.pod:9 ../src/guestfs.pod:9
+#, no-wrap
+msgid ""
+" #include <guestfs.h>\n"
+" \n"
+msgstr ""
+" #include <guestfs.h>\n"
+" \n"
+
+#. type: verbatim
+#: ../examples/guestfs-examples.pod:11
+#, no-wrap
+msgid ""
+" guestfs_h *g = guestfs_create ();\n"
+" guestfs_add_drive_ro (g, \"disk.img\");\n"
+" guestfs_launch (g);\n"
+"\n"
+msgstr ""
+" guestfs_h *g = guestfs_create ();\n"
+" guestfs_add_drive_ro (g, \"disk.img\");\n"
+" guestfs_launch (g);\n"
+"\n"
+
+#. type: verbatim
+#: ../examples/guestfs-examples.pod:15 ../src/guestfs.pod:19
+#, no-wrap
+msgid ""
+" cc prog.c -o prog -lguestfs\n"
+"or:\n"
+" cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n"
+"\n"
+msgstr ""
+" cc prog.c -o prog -lguestfs\n"
+"або:\n"
+" cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n"
+"\n"
+
+#. type: textblock
+#: ../examples/guestfs-examples.pod:21
+msgid ""
+"This manual page contains examples of calling libguestfs from the C "
+"programming language. If you are not familiar with using libguestfs, you "
+"also need to read L<guestfs(3)>."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-examples.pod:35
+msgid ""
+"L<guestfs(3)>, L<guestfs-erlang(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)"
+">, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-recipes(1)>, "
+"L<guestfs-ruby(3)>, L<http://libguestfs.org/>."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-examples.pod:51 ../ocaml/examples/guestfs-ocaml.pod:97
+#: ../python/examples/guestfs-python.pod:60
+#: ../ruby/examples/guestfs-ruby.pod:54
+msgid "Copyright (C) 2010 Red Hat Inc. L<http://libguestfs.org/>"
+msgstr ""
+
+#. type: =end
+#: ../examples/guestfs-recipes.pod:3 ../examples/guestfs-recipes.pod:12
+msgid "comment"
+msgstr "коментар"
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:5
+msgid ""
+"pod2man and pod2html have differing bugs which makes it hard to write URLs "
+"here. The only way which works for both sorts of output is to just write "
+"the URL directly. Do NOT use L<...> for URLs."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:9
+msgid ""
+"We break with tradition here and don't use ALL CAPS for the section "
+"headings, as this makes them much easier to read."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:16
+msgid "guestfs-recipes - libguestfs, guestfish and virt tools recipes"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:20
+msgid ""
+"This page contains recipes for and links to things you can do using "
+"libguestfs, L<guestfish(1)> and the virt tools."
+msgstr ""
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:23
+msgid "Audit a virtual machine for setuid files"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:25
+msgid ""
+"The link below contains a small program which can be used to audit a Linux "
+"virtual machine to see what setuid and setgid files it contains."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:28
+msgid ""
+"https://rwmj.wordpress.com/2010/12/15/tip-audit-virtual-machine-for-setuid-"
+"files/#content"
+msgstr ""
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:30
+msgid "Change the background image in a Windows XP VM"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:32
+msgid ""
+"The links below explain how to use L<guestfish(1)> to change the background "
+"image for a user of a Windows XP VM. Unfortunately the technique appears to "
+"be substantially different for each version of Windows."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:37
+msgid ""
+"https://lists.fedoraproject.org/pipermail/virt/2011-May/002655.html https://"
+"lists.fedoraproject.org/pipermail/virt/2011-May/002658.html"
+msgstr ""
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:40
+msgid "Cloning a virtual machine (Linux)"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:42
+msgid ""
+"The guestfish technique described in the link below works well for most "
+"Linux VMs. Depending on the Linux distro you may need to change the paths "
+"slightly."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:46
+msgid ""
+"https://rwmj.wordpress.com/2010/09/24/tip-my-procedure-for-cloning-a-fedora-"
+"vm/#content"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:48
+msgid ""
+"Avoid L<virt-clone(1)>. Currently what to do about virt-clone is under "
+"discussion."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:51
+msgid "https://www.redhat.com/archives/virt-tools-list/2011-May/msg00019.html"
+msgstr ""
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:53
+msgid "Cloning a virtual machine (Windows)"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:55
+msgid ""
+"It is possible to do a \"sysprep\" using libguestfs alone, although not "
+"straightforward. Currently there is code in the Aeolus Oz project which "
+"does this (using libguestfs). As part of our review of the virt-clone tool, "
+"we may add sysprepping ability."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:60
+msgid ""
+"https://github.com/clalancette/oz https://www.redhat.com/archives/virt-tools-"
+"list/2011-May/msg00019.html"
+msgstr ""
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:63
+msgid "Convert a CD-ROM / DVD / ISO to a tarball"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:65
+msgid "This converts input C<cd.iso> to output C<cd.tar.gz>:"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:67
+#, no-wrap
+msgid ""
+" guestfish --ro -a cd.iso -m /dev/sda tgz-out / cd.tar.gz\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:69
+msgid "To export just a subdirectory, eg. C</files>, do:"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:71
+#, no-wrap
+msgid ""
+" guestfish --ro -a cd.iso -m /dev/sda tgz-out /files cd.tar.gz\n"
+"\n"
+msgstr ""
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:73
+msgid "Create empty disk images"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:75
+msgid ""
+"You can use the L<guestfish(1)> I<-N> option to create empty disk images. "
+"The useful guide below explains the options available."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:78
+msgid ""
+"https://rwmj.wordpress.com/2010/09/08/new-guestfish-n-options-in-1-5-9/"
+"#content"
+msgstr ""
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:80
+msgid "Dump raw filesystem content from inside a disk image or VM"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:82
+msgid ""
+"You can use the L<guestfish(1)> C<download> command to extract the raw "
+"filesystem content from any filesystem in a disk image or a VM (even one "
+"which is encrypted or buried inside an LV):"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:86
+#, no-wrap
+msgid ""
+" guestfish --ro -a disk.img run : download /dev/sda1 sda1.img\n"
+"\n"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:88
+#, no-wrap
+msgid ""
+" guestfish --ro -d Guest run : download /dev/vg_guest/lv_root lv.img\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:90
+msgid "To list the filesystems in a disk image, use L<virt-filesystems(1)>."
+msgstr ""
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:92
+msgid "Edit grub configuration in a VM"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:94
+msgid "You can use this to:"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:100
+msgid "Fix a virtual machine that does not boot."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:104
+msgid "Change which kernel is used to boot the VM."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:108
+msgid "Change kernel command line options."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:112
+msgid "Use L<virt-edit(1)> to edit the grub configuration:"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:114
+#, no-wrap
+msgid ""
+" virt-edit -d BrokenGuest /boot/grub/grub.conf\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:116
+msgid ""
+"or for general tinkering inside an unbootable VM use L<virt-rescue(1)> like "
+"this:"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:119
+#, no-wrap
+msgid ""
+" virt-rescue -d BrokenGuest\n"
+"\n"
+msgstr ""
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:121
+msgid "Export any directory from a VM"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:123
+msgid ""
+"To export C</home> from a VM into a local directory use L<virt-copy-out(1)>:"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:126 ../examples/guestfs-testing.pod:93
+#, no-wrap
+msgid ""
+" virt-copy-out -d Guest /home .\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:128 ../fish/guestfish-actions.pod:9
+#: ../fish/guestfish-actions.pod:1450 ../fish/guestfish-actions.pod:1715
+#: ../fish/guestfish-actions.pod:2132 ../src/guestfs-actions.pod:18
+#: ../src/guestfs-actions.pod:2334 ../src/guestfs-actions.pod:2758
+#: ../src/guestfs-actions.pod:3317 ../src/guestfs.pod:1685
+#: ../tools/virt-win-reg.pl:717
+msgid "Notes:"
+msgstr "Нотатки:"
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:134
+msgid ""
+"The final dot of the command is not a printing error. It means we want to "
+"copy out to the current directory."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:139
+msgid "This creates a directory called C<home> under the current directory."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:143
+msgid ""
+"If the guest is a Windows guest then you can use drive letters and "
+"backslashes, but you must prefix the path with C<win:> and quote it to "
+"protect it from the shell, like this:"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:147
+#, no-wrap
+msgid ""
+" virt-copy-out -d WinGuest 'win:c:\\windows\\system32\\config' .\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:149
+msgid "To get the output as a compressed tarball, do:"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:151
+#, no-wrap
+msgid ""
+" virt-tar-out -d Guest /home - | gzip --best > home.tar.gz\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:153
+msgid ""
+"Although it sounds tempting, this is usually not a reliable way to get a "
+"backup from a running guest. See the entry in the FAQ: http://libguestfs."
+"org/FAQ.html#backup"
+msgstr ""
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:157
+msgid "Find out which user is using the most space"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:159
+msgid ""
+"This simple script examines a Linux guest to find out which user is using "
+"the most space in their home directory:"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:162
+#, no-wrap
+msgid ""
+" #!/bin/sh -\n"
+" \n"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:164 ../fish/guestfish.pod:984
+#, no-wrap
+msgid ""
+" set -e\n"
+" \n"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:166
+#, no-wrap
+msgid ""
+" vm=\"$1\"\n"
+" dir=/home\n"
+" \n"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:169
+#, no-wrap
+msgid ""
+" eval $(guestfish --ro -d \"$vm\" -i --listen)\n"
+" \n"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:171
+#, no-wrap
+msgid ""
+" for d in $(guestfish --remote ls \"$dir\"); do\n"
+" echo -n \"$dir/$d\"\n"
+" echo -ne '\\t'\n"
+" guestfish --remote du \"$dir/$d\";\n"
+" done | sort -nr -k 2\n"
+" \n"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:177 ../fish/guestfish.pod:941
+#, no-wrap
+msgid ""
+" guestfish --remote exit\n"
+"\n"
+msgstr ""
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:179
+msgid "Get DHCP address from a VM"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:181
+msgid ""
+"The link below explains the many different possible techniques for getting "
+"the last assigned DHCP address of a virtual machine."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:184
+msgid ""
+"https://rwmj.wordpress.com/2011/03/31/tip-code-for-getting-dhcp-address-from-"
+"a-virtual-machine-disk-image/#content"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:186
+msgid ""
+"In the libguestfs source examples directory you will find the latest version "
+"of the C<virt-dhcp-address.c> program."
+msgstr ""
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:189
+msgid "Get the operating system product name string"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:191
+msgid "Save the following script into a file called C<product-name.sh>:"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:193
+#, no-wrap
+msgid ""
+" #!/bin/sh -\n"
+" set -e\n"
+" eval \"$(guestfish --ro -d \"$1\" --i --listen)\"\n"
+" root=\"$(guestfish --remote inspect-get-roots)\"\n"
+" guestfish --remote inspect-get-product-name \"$root\"\n"
+" guestfish --remote exit\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:200
+msgid "Make the script executable and run it on a named guest:"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:202
+#, no-wrap
+msgid ""
+" # product-name.sh RHEL60x64\n"
+" Red Hat Enterprise Linux Server release 6.0 (Santiago)\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:205
+msgid ""
+"You can also use an XPath query on the L<virt-inspector(1)> XML using the "
+"C<xpath> command line tool or from your favourite programming language:"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:209
+#, no-wrap
+msgid ""
+" # virt-inspector RHEL60x64 > xml\n"
+" # xpath '//product_name' < xml\n"
+" Found 1 nodes:\n"
+" -- NODE --\n"
+" <product_name>Red Hat Enterprise Linux Server release 6.0 (Santiago)</product_name>\n"
+"\n"
+msgstr ""
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:215
+msgid "Get the default boot kernel for a Linux VM"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:217
+msgid ""
+"The link below contains a program to print the default boot kernel for a "
+"Linux VM."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:220
+msgid ""
+"https://rwmj.wordpress.com/2010/10/30/tip-use-augeas-to-get-the-default-boot-"
+"kernel-for-a-vm/#content"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:222
+msgid ""
+"It uses Augeas, and the technique is generally applicable for many different "
+"tasks, such as:"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:229
+msgid "listing the user accounts in the guest"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:233
+msgid "what repositories is it configured to use"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:237
+msgid "what NTP servers does it connect to"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:241
+msgid "what were the boot messages last time it booted"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:245
+msgid "listing who was logged in recently"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:249
+msgid "http://augeas.net/"
+msgstr ""
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:251
+msgid "Install RPMs in a guest"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:253
+msgid ""
+"The link below contains a method to install RPMs in a guest. In fact the "
+"RPMs are just uploaded to the guest along with a \"firstboot\" script that "
+"installs them next time the guest is booted. You could use this technique "
+"to install vital security updates in an offline guest."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:259
+msgid ""
+"https://rwmj.wordpress.com/2010/12/01/tip-install-rpms-in-a-guest/#content"
+msgstr ""
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:261
+msgid "List applications installed in a VM"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:263
+msgid "Save the following to a file C<list-apps.sh>:"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:265
+#, no-wrap
+msgid ""
+" #!/bin/sh -\n"
+" set -e\n"
+" eval \"$(guestfish --ro -d \"$1\" --i --listen)\"\n"
+" root=\"$(guestfish --remote inspect-get-roots)\"\n"
+" guestfish --remote inspect-list-applications \"$root\"\n"
+" guestfish --remote exit\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:272
+msgid ""
+"Make the file executable and then you can run it on any named virtual "
+"machine:"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:275
+#, no-wrap
+msgid ""
+" # list-apps.sh WinGuest\n"
+" [0] = {\n"
+" app_name: Mozilla Firefox (3.6.12)\n"
+" app_display_name: Mozilla Firefox (3.6.12)\n"
+" app_epoch: 0\n"
+" app_version: 3.6.12 (en-GB)\n"
+" app_release:\n"
+" app_install_path: C:\\Program Files\\Mozilla Firefox\n"
+" app_trans_path:\n"
+" app_publisher: Mozilla\n"
+" app_url: http://www.mozilla.com/en-GB/\n"
+" app_source_package:\n"
+" app_summary:\n"
+" app_description: Mozilla Firefox\n"
+" }\n"
+" [1] = {\n"
+" app_name: VLC media player\n"
+" app_display_name: VLC media player 1.1.5\n"
+" app_epoch: 0\n"
+" app_version: 1.1.5\n"
+" app_release:\n"
+" app_install_path: C:\\Program Files\\VideoLAN\\VLC\n"
+" app_trans_path:\n"
+" app_publisher: VideoLAN\n"
+" app_url: http://www.videolan.org/\n"
+" app_source_package:\n"
+" app_summary:\n"
+" app_description:\n"
+" }\n"
+"\n"