summaryrefslogtreecommitdiffstats
path: root/sysprep/sysprep_operation.ml
Commit message (Collapse)AuthorAgeFilesLines
* Add gettext support for OCaml tools (virt-resize, virt-sparsify, virt-sysprep).Richard W.M. Jones2012-05-011-7/+11
| | | | | | | | Note that this support is optional: To enable it, install the ocaml-gettext library from http://forge.ocamlcore.org/projects/ocaml-gettext . If this library is not installed, then configure detects this and inserts dummy gettext functions that do nothing.
* sysprep: Don't enable every option by default.Richard W.M. Jones2012-04-211-21/+49
| | | | | | | | | | All current operations are enabled by default. Also: * The POD description is split into a heading and the description body. * An 'enabled_by_default' flag is added to the structure.
* sysprep: Make a common Utils.compare_command_line_args function.Richard W.M. Jones2012-04-111-4/+2
| | | | | This isn't quite code motion, since the new function also ignores case (which previously we didn't ignore).
* sysprep: Move skip_dashes function into Utils module.Richard W.M. Jones2012-04-111-12/+2
| | | | | This is mostly code motion, but I also changed the function to use String.unsafe_get and raise Invalid_argument on failure.
* sysprep: Print some logging by default.Richard W.M. Jones2012-04-111-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | It can be disabled using the --quiet option. The logging looks like: Examining the guest ... Performing "cron-spool" ... Performing "dhcp-client-state" ... Performing "dhcp-server-state" ... Performing "hostname" ... Performing "logfiles" ... Performing "mail-spool" ... Performing "net-hwaddr" ... Performing "random-seed" ... Performing "rhn-systemid" ... Performing "script" ... Performing "smolt-uuid" ... Performing "ssh-hostkeys" ... Performing "udev-persistent-net" ... Performing "utmp" ... Performing "yum-uuid" ... Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* sysprep: Add some debug code when performing operations.Richard W.M. Jones2012-04-011-1/+6
|
* Rewrite virt-sysprep.Richard W.M. Jones2012-03-311-0/+183