summaryrefslogtreecommitdiffstats
path: root/sysprep/sysprep_operation_script.ml
Commit message (Collapse)AuthorAgeFilesLines
* sysprep: Add --firstboot functionality.Richard W.M. Jones2012-08-181-1/+5
| | | | | This allows you to add scripts that run in the context of the guest the first time it boots.
* sysprep: Change perform callback to perform_on_filesystems and ↵Richard W.M. Jones2012-07-251-1/+2
| | | | | | | | | perform_on_devices. Operations that need to work directly on guest block devices will fail because the block devices are busy. Therefore add a phase with the filesystems unmounted, and allow operations to specify that they need to work in this phase.
* Add gettext support for OCaml tools (virt-resize, virt-sparsify, virt-sysprep).Richard W.M. Jones2012-05-011-11/+12
| | | | | | | | 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-1/+3
| | | | | | | | | | 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: script: Documentation fix.Richard W.M. Jones2012-04-011-1/+1
|
* sysprep: script: Miscellaneous fixes and cleanups to shell script.Richard W.M. Jones2012-04-011-3/+11
|
* sysprep: script: Wait for child process to exit.Richard W.M. Jones2012-04-011-3/+17
|
* sysprep: script: Remove useless check that script is executable.Richard W.M. Jones2012-04-011-9/+5
| | | | | | This check will fail if the script is on the path. Also document that script must be on the path or else the full path to the script must be given.
* sysprep: Implement 'script' operation for running general scripts against ↵Richard W.M. Jones2012-03-311-0/+140
the guest.