summaryrefslogtreecommitdiffstats
path: root/tools/virt-edit
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite virt-edit in C.Richard W.M. Jones2011-05-091-530/+0
|
* doc: Use I<-...> for cross-references to command line options.Richard W.M. Jones2011-05-011-1/+1
| | | | This is now used consistently across all the documentation.
* edit: Allow Windows-style drive letters and paths to be used.Richard W.M. Jones2011-04-051-0/+101
|
* edit: Move 'exit 0' to end of file.Richard W.M. Jones2011-04-051-2/+4
| | | | This is just code motion.
* edit: Let $root == $roots[0].Richard W.M. Jones2011-04-051-1/+2
| | | | This is just code motion.
* cat, edit: Reference guestfish equivalent commands in the manual pages.Richard W.M. Jones2011-04-051-4/+46
|
* New tools: virt-copy-in, virt-copy-out, virt-tar-in, virt-tar-out.Richard W.M. Jones2011-01-031-0/+2
| | | | | Relatively trivial wrappers around the equivalent guestfish commands. Change also includes new man pages.
* tools: Use C API for inspection (RHBZ#642930).Richard W.M. Jones2010-10-281-19/+16
| | | | | | | | | | | | | Update the following tools to use the C API for inspection: - virt-cat - virt-edit - virt-ls - virt-tar - virt-win-reg None of the tools in the tools/ directory now use the deprecated Perl inspection APIs.
* edit: Clean up tmp file handling in virt-edit.Richard W.M. Jones2010-10-281-3/+6
| | | | | | | This was probably not a security issue, but this change makes the code cleaner by not opening the tmp file twice. Also be more careful about error checking in close syscall.
* tools: Specify format of disks (RHBZ#642934,CVE-2010-3851).Richard W.M. Jones2010-10-221-2/+20
| | | | | | | | | | Sys::Guestfs::Lib is changed in two ways: firstly we take the format string from libvirt and pass it to add_drive_opts. Secondly we allow an extra format => parameter to open_guest which allows the format to be specified for disk images. All the tools are changed to add an extra --format parameter allowing the format to be specified for direct disk images.
* tools: Add section describing quoting libvirt domain names to docs (RHBZ#643624)Richard W.M. Jones2010-10-181-0/+7
|
* edit: Clean up temporary files.Richard Jones2010-07-111-2/+2
| | | | | Note to self: The 'tempfile' function does *not* default to removing files with the program exits!
* edit: Add -b (backup) option and make uploading more robust.Richard Jones2010-07-111-1/+36
|
* edit: Add -e 'expr' option to non-interactively apply expression to the file.Richard Jones2010-07-111-15/+125
| | | | (Suggested by Justin Clift).
* Improved error if virt-inspector cannot find OSes in image (RHBZ#591142).Richard Jones2010-05-131-1/+0
|
* Documentation updates.Richard Jones2010-04-111-1/+1
| | | | | | | Fix copyright years. Fix URLs to point to new PRC site. Make sure guestfish(1) and guestfs(3) manpages reference the current list of tools.
* tools: Make warnings about running on live guests more prominent.Richard Jones2009-10-191-3/+6
| | | | | Add prominent warnings to the man pages about how it is dangerous to run these tools against live guests.
* Move virt tools (virt-cat, virt-edit etc) into tools/ subdirectory.Richard Jones2009-10-191-0/+210
This moves the tool programs into a single directory: cat/* -> tools/virt-cat df/* -> tools/virt-df edit/* -> tools/virt-edit rescue/* -> tools/virt-rescue This in itself simplifies the build process because we only need one Makefile and one copy of 'run-locally'. 'run-*-locally' has become just 'run-locally' and takes an extra parameter which is the name of the tool, eg: run-locally cat [virt-cat params...] virt-inspector stays in its own directory, because this contains more than just a single Perl script.