+#: ../clone/virt-sysprep.pod:5
+msgid "virt-sysprep - Reset or unconfigure a virtual machine so clones can be made"
+msgstr ""
+
+#. type: verbatim
+#: ../clone/virt-sysprep.pod:9
+#, no-wrap
+msgid ""
+" virt-sysprep [--options] -d domname\n"
+"\n"
+msgstr ""
+
+#. type: verbatim
+#: ../clone/virt-sysprep.pod:11
+#, no-wrap
+msgid ""
+" virt-sysprep [--options] -a disk.img [-a disk.img ...]\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:15
+msgid ""
+"Virt-sysprep \"resets\" or \"unconfigures\" a virtual machine so that clones "
+"can be made from it. Steps in this process include removing SSH host keys, "
+"removing persistent network MAC configuration, and removing user accounts. "
+"Each step can be enabled or disabled as required."
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:21
+msgid ""
+"Virt-sysprep is a simple shell script, allowing easy inspection or "
+"customization by the system administrator."
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:24
+msgid ""
+"Virt-sysprep modifies the guest or disk image I<in place>. The guest must "
+"be shut down. If you want to preserve the existing contents of the guest, "
+"you I<must copy or clone the disk first>. See L</COPYING AND CLONING> "
+"below."
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:29
+msgid ""
+"\"Sysprep\" stands for \"system preparation\" tool. The name comes from the "
+"Microsoft program C<sysprep.exe> which is used to unconfigure Windows "
+"machines in preparation for cloning them. Having said that, virt-sysprep "
+"does I<not> currently work on Microsoft Windows guests. We plan to support "
+"Windows sysprepping in a future version, and we already have code to do it."
+msgstr ""
+
+#. type: =item
+#: ../clone/virt-sysprep.pod:70
+msgid "B<--enable=...>"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:72
+msgid ""
+"Choose which sysprep operations to perform. Give a comma-separated list of "
+"operations, for example:"
+msgstr ""
+
+#. type: verbatim
+#: ../clone/virt-sysprep.pod:75
+#, no-wrap
+msgid ""
+" --enable=ssh-hostkeys,udev-persistent-net\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:77
+msgid "would enable ONLY C<ssh-hostkeys> and C<udev-persistent-net> operations."
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:79
+msgid ""
+"If the I<--enable> option is not given, then we default to trying all "
+"possible sysprep operations. But some sysprep operations are skipped for "
+"some guest types."
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:83
+msgid ""
+"Use I<--list-operations> to list operations supported by a particular "
+"version of virt-sysprep."
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:86
+msgid "See L</OPERATIONS> below for a list and an explanation of each operation."
+msgstr ""
+
+#. type: verbatim
+#: ../clone/virt-sysprep.pod:100
+#, no-wrap
+msgid ""
+" virt-sysprep --format=raw -a disk.img\n"
+"\n"
+msgstr ""
+
+#. type: verbatim
+#: ../clone/virt-sysprep.pod:104
+#, no-wrap
+msgid ""
+" virt-sysprep --format=raw -a disk.img --format -a another.img\n"
+"\n"
+msgstr ""
+
+#. type: =item
+#: ../clone/virt-sysprep.pod:113
+msgid "B<--hostname> newhostname"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:115
+msgid ""
+"Change the hostname. See the L</hostname> operation below. If not given, "
+"defaults to C<localhost.localdomain>."
+msgstr ""
+
+#. type: =item
+#: ../clone/virt-sysprep.pod:118
+msgid "B<--list-operations>"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:120
+msgid "List the operations supported by the virt-sysprep program."
+msgstr ""
+
+#. type: =head1
+#: ../clone/virt-sysprep.pod:140
+msgid "OPERATIONS"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:142
+msgid ""
+"If the I<--enable> option is I<not> given, then all sysprep operations in "
+"the list below are enabled, although some are skipped depending on the type "
+"of guest."
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:146
+msgid ""
+"Operations can be individually enabled using the I<--enable> option. Use a "
+"comma-separated list, for example:"
+msgstr ""
+
+#. type: verbatim
+#: ../clone/virt-sysprep.pod:149
+#, no-wrap
+msgid ""
+" virt-sysprep --enable=ssh-hostkeys,udev-persistent-net [etc..]\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:151
+msgid ""
+"To list the operations supported by the current version of virt-sysprep, use "
+"I<--list-operations>."
+msgstr ""
+
+#. type: =head2
+#: ../clone/virt-sysprep.pod:154
+msgid "hostname"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:156
+msgid ""
+"This changes the hostname of the guest to the value given in the "
+"I<--hostname> parameter."
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:159
+msgid ""
+"If the I<--hostname> parameter is not given, then the hostname is changed to "
+"C<localhost.localdomain>."
+msgstr ""
+
+#. type: =head2
+#: ../clone/virt-sysprep.pod:162
+msgid "net-hwaddr"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:164
+msgid ""
+"Remove HWADDR (hard-coded MAC address) configuration. For Fedora and Red "
+"Hat Enterprise Linux, this is removed from C<ifcfg-*> files."
+msgstr ""
+
+#. type: =head2
+#: ../clone/virt-sysprep.pod:167
+msgid "ssh-hostkeys"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:169
+msgid "This erases the SSH host keys in the guest."
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:171
+msgid ""
+"The SSH host keys are regenerated (differently) next time the guest is "
+"booted."
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:174
+msgid ""
+"If, after cloning, the guest gets the same IP address, ssh will give you a "
+"stark warning about the host key changing:"
+msgstr ""
+
+#. type: verbatim
+#: ../clone/virt-sysprep.pod:177
+#, no-wrap
+msgid ""
+" @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n"
+" @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @\n"
+" @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n"
+" IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!\n"
+"\n"
+msgstr ""
+
+#. type: =head2
+#: ../clone/virt-sysprep.pod:182
+msgid "udev-persistent-net"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:184
+msgid ""
+"This erases udev persistent net rules which map the guest's existing MAC "
+"address to a fixed ethernet device (eg. eth0)."
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:187
+msgid ""
+"After a guest is cloned, the MAC address usually changes. Since the old MAC "
+"address occupies the old name (eg. eth0), this means the fresh MAC address "
+"is assigned to a new name (eg. eth1) and this is usually undesirable. "
+"Erasing the udev persistent net rules avoids this."
+msgstr ""
+
+#. type: =head1
+#: ../clone/virt-sysprep.pod:192
+msgid "COPYING AND CLONING"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:194
+msgid ""
+"Virt-sysprep can be used as part of a process of cloning guests, or to "
+"prepare a template from which guests can be cloned. There are many "
+"different ways to achieve this using the virt tools, and this section is "
+"just an introduction."
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:199
+msgid "A virtual machine (when switched off) consists of two parts:"
+msgstr ""
+
+#. type: =item
+#: ../clone/virt-sysprep.pod:203
+msgid "I<configuration>"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:205
+msgid ""
+"The configuration or description of the guest. eg. The libvirt XML (see "
+"C<virsh dumpxml>), the running configuration of the guest, or another "
+"external format like OVF."
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:209
+msgid "Some configuration items that might need to be changed:"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:215
+msgid "name"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:219 ../clone/virt-sysprep.pod:246
+msgid "UUID"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:223
+msgid "path to block device(s)"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:227
+msgid "network card MAC address"
+msgstr ""
+
+#. type: =item
+#: ../clone/virt-sysprep.pod:231
+msgid "I<block device(s)>"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:233
+msgid ""
+"One or more hard disk images, themselves containing files, directories, "
+"applications, kernels, configuration, etc."
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:236
+msgid "Some things inside the block devices that might need to be changed:"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:242
+msgid "hostname and other net configuration"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:250
+msgid "SSH host keys"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:254
+msgid "Windows unique security ID (SID)"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:258
+msgid "Puppet registration"
+msgstr ""
+
+#. type: =head2
+#: ../clone/virt-sysprep.pod:264
+msgid "COPYING THE BLOCK DEVICE"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:266
+msgid ""
+"Starting with an original guest, you probably wish to copy the guest block "
+"device and its configuration to make a template. Then once you are happy "
+"with the template, you will want to make many clones from it."
+msgstr ""
+
+#. type: verbatim
+#: ../clone/virt-sysprep.pod:271
+#, no-wrap
+msgid ""
+" virt-sysprep\n"
+" |\n"
+" v\n"
+" original guest --------> template ---------->\n"
+" \\------> cloned\n"
+" \\-----> guests\n"
+" \\---->\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:279
+msgid ""
+"You can, of course, just copy the block device on the host using L<cp(1)> or "
+"L<dd(1)>."
+msgstr ""
+
+#. type: verbatim
+#: ../clone/virt-sysprep.pod:282
+#, no-wrap
+msgid ""
+" dd dd\n"
+" original guest --------> template ---------->\n"
+" \\------> cloned\n"
+" \\-----> guests\n"
+" \\---->\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:288
+msgid "There are some smarter (and faster) ways too:"
+msgstr ""
+
+#. type: verbatim
+#: ../clone/virt-sysprep.pod:294
+#, no-wrap
+msgid ""
+" snapshot\n"
+" template ---------->\n"
+" \\------> cloned\n"
+" \\-----> guests\n"
+" \\---->\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:300
+msgid ""
+"Use the block device as a backing file and create a snapshot on top for each "
+"guest. The advantage is that you don't need to copy the block device (very "
+"fast) and only changes are stored (less storage required)."
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:305
+msgid ""
+"Note that writing to the backing file once you have created guests on top of "
+"it is not possible: you will corrupt the guests."
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:308
+msgid ""
+"Tools that can do this include: L<qemu-img(1)> (with the I<create -f qcow2 "
+"-o backing_file> option), L<lvcreate(8)> (I<--snapshot> option). Some "
+"filesystems (such as btrfs) and most Network Attached Storage devices can "
+"also create cheap snapshots from files or LUNs."
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:316
+msgid "Get your NAS to snapshot and/or duplicate the LUN."
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:320
+msgid "Prepare your template using L<virt-sparsify(1)>. See below."
+msgstr ""
+
+#. type: =head2
+#: ../clone/virt-sysprep.pod:324
+msgid "VIRT-CLONE"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:326
+msgid ""
+"A separate tool, L<virt-clone(1)>, can be used to duplicate the block device "
+"and/or modify the external libvirt configuration of a guest. It will reset "
+"the name, UUID and MAC address of the guest in the libvirt XML."
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:331
+msgid ""
+"L<virt-clone(1)> does not use libguestfs and cannot look inside the disk "
+"image. This was the original motivation to write virt-sysprep."
+msgstr ""
+
+#. type: =head2
+#: ../clone/virt-sysprep.pod:334
+msgid "SPARSIFY"
+msgstr ""
+
+#. type: verbatim
+#: ../clone/virt-sysprep.pod:336
+#, no-wrap
+msgid ""
+" virt-sparsify\n"
+" original guest --------> template\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:339
+msgid ""
+"L<virt-sparsify(1)> can be used to make the cloning template smaller, making "
+"it easier to compress and/or faster to copy."
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:342
+msgid ""
+"Notice that since virt-sparsify also copies the image, you can use it to "
+"make the initial copy (instead of C<dd>)."
+msgstr ""
+
+#. type: =head2
+#: ../clone/virt-sysprep.pod:345
+msgid "RESIZE"
+msgstr ""
+
+#. type: verbatim
+#: ../clone/virt-sysprep.pod:347
+#, no-wrap
+msgid ""
+" virt-resize\n"
+" template ---------->\n"
+" \\------> cloned\n"
+" \\-----> guests\n"
+" \\---->\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:353
+msgid ""
+"If you want to give people cloned guests, but let them pick the size of the "
+"guest themselves (eg. depending on how much they are prepared to pay for "
+"disk space), then instead of copying the template, you can run "
+"L<virt-resize(1)>. Virt-resize performs a copy and resize, and thus is "
+"ideal for cloning guests from a template."
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:368
+msgid "This program returns 0 on success, or 1 if there was an error."
+msgstr ""
+
+#. type: textblock
+#: ../clone/virt-sysprep.pod:372
+msgid ""
+"L<guestfs(3)>, L<guestfish(1)>, L<virt-clone(1)>, L<virt-rescue(1)>, "
+"L<virt-resize(1)>, L<virt-sparsify(1)>, L<virsh(1)>, L<qemu-img(1)>, "
+"L<lvcreate(8)>, L<http://libguestfs.org/>, L<http://libvirt.org/>."
+msgstr ""
+
+#. type: textblock