Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fish: edit: Preserve permissions, UID, GID, SELinux context when editing ↵ | Richard W.M. Jones | 2012-02-10 | 2 | -1/+92 |
| | | | | | | files (RHBZ#788641). (cherry picked from commit 7c21e49c2c83092e9fd5f40c43a03c764a6d3663) | ||||
* | fish: In edit command, upload to a new file. | Richard W.M. Jones | 2012-02-10 | 4 | -3/+110 |
| | | | | | | | | If the upload fails, this means we don't leave a partially written file. Also add a test for the edit command. (cherry picked from commit ddae5abf80f65fc149eec253f14f073d397b49c2) | ||||
* | fish: Refactor error handling in the 'edit' command. | Richard W.M. Jones | 2012-02-10 | 1 | -24/+17 |
| | | | | | This is just code motion. (cherry picked from commit ca80e4490463d646de4504fc2bcb4e4a722bedb8) | ||||
* | fish: Fix 'test-guestfish-escapes.sh' when running an alternate guestfish ↵ | Richard W.M. Jones | 2012-01-29 | 1 | -12/+16 |
| | | | | | | | | | | | | binary. The error messages would be prefixed by the path to the alternate binary, eg: ../fish/guestfish: invalid escape sequence in string (starting at offset 0) Fix this by normalizing the messages further. (cherry picked from commit 09227c9d664ca21b47b65c2fcd8fa2ddc485b554) | ||||
* | fish: Filter out error messages about history file in test script | Hilko Bengen | 2012-01-23 | 1 | -1/+1 |
| | |||||
* | Do not run appliance-related checks if not building appliance | Hilko Bengen | 2012-01-23 | 1 | -3/+7 |
| | |||||
* | Replace setting of environment variables with usage of local run script | Hilko Bengen | 2012-01-23 | 1 | -3/+1 |
| | | | | (Includes fix by RWMJ) | ||||
* | fish: Remove hard-coded path from test script | Hilko Bengen | 2012-01-20 | 1 | -1/+1 |
| | |||||
* | Tempus fugit. | Richard W.M. Jones | 2012-01-18 | 13 | -14/+14 |
| | | | | Update all copyright dates to 2012. | ||||
* | fish options parsing: Allow add_drives to be called multiple times. | Richard W.M. Jones | 2012-01-18 | 3 | -10/+11 |
| | | | | | | Ensure that the drv structure is always zeroed on allocation. Don't leak old drv->device when add_drives is called multiple times. | ||||
* | fish: fix the Ctrl-\ causes guestfish to abort bug(RHBZ#596761) | Wanlong Gao | 2012-01-04 | 1 | -0/+1 |
| | | | | | | Handle SIGQUIT by guestfish, so that it can't be terminated. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> | ||||
* | fish: mount can be used instead of mount-options with libguestfs >= 1.14 | Richard W.M. Jones | 2011-12-23 | 1 | -1/+1 |
| | |||||
* | fish: Fix --format parameter in man page. | Richard W.M. Jones | 2011-12-23 | 1 | -1/+1 |
| | |||||
* | fish: Fix test-guestfish-events.sh so it works when LIBGUESTFS_DEBUG=1 is set. | Richard W.M. Jones | 2011-12-23 | 1 | -7/+1 |
| | | | | | Various messages were added and changed when this variable was set while tests were running. | ||||
* | tests: Split images -> tests/data + tests/guests | Richard W.M. Jones | 2011-12-22 | 4 | -7/+7 |
| | |||||
* | tests: Split regressions -> various subdirectories of tests/ | Richard W.M. Jones | 2011-12-22 | 14 | -0/+822 |
| | |||||
* | fish: Allow events to be processed in guestfish. | Richard W.M. Jones | 2011-12-16 | 5 | -0/+292 |
| | | | | | | | | Add 'event', 'list-events' and 'delete-event' commands so that event handlers can be registered, listed and deleted in guestfish. The event handler is a shell script snippet or host command. Cc: Pádraig Brady <P@draigBrady.com> | ||||
* | fish: -i option should fail if / is not mountable, but warn about others. | Richard W.M. Jones | 2011-12-09 | 1 | -1/+7 |
| | | | | | | | | In particular this stops a problem with guestmount where if the -i option half-recognizes the guest OS, it would mount the disk (and fail, giving only warnings), leaving the mountpoint unusable. (Thanks Pádraig Brady) | ||||
* | copy-in/copy-out: Wait for the tar subprocess only (RHBZ#760669). | Richard W.M. Jones | 2011-12-07 | 1 | -26/+35 |
| | |||||
* | fish: Improve error messages when no OS / multi-boot OS found with ↵ | Richard W.M. Jones | 2011-12-07 | 1 | -2/+30 |
| | | | | inspection (RHBZ#760775). | ||||
* | Fix rpcgen post-processing for out-of-tree builds | Hilko Bengen | 2011-12-06 | 1 | -1/+1 |
| | |||||
* | fish: When -m option fails, canonicalize device names that are printed. | Richard W.M. Jones | 2011-11-28 | 1 | -0/+15 |
| | | | | | | | | | | | The error message now looks like this: guestfish: '/dev/vda6' could not be mounted. Did you mean one of these? /dev/sda1 (ext4) /dev/vg_f15x32/lv_root (ext4) /dev/vg_f15x32/lv_swap (swap) Note that '/dev/sda1' has been canonicalized. | ||||
* | fish: Rearrange code for displaying mountpoints when -m option fails. | Richard W.M. Jones | 2011-11-28 | 1 | -12/+33 |
| | | | | This also frees the list returned by guestfs_list_filesystems. | ||||
* | fish: Add MD devices to guestfish device autocompletion. | Matthew Booth | 2011-11-21 | 1 | -0/+3 |
| | |||||
* | Update FSF address. | Matthew Booth | 2011-11-08 | 41 | -41/+41 |
| | |||||
* | fish: Use size_t instead of int when counting strings. | Richard W.M. Jones | 2011-11-01 | 1 | -4/+4 |
| | |||||
* | fish and other tools: -d option uses readonlydisk="read" (RHBZ#747290). | Richard W.M. Jones | 2011-10-26 | 1 | -0/+3 |
| | | | | | | Tools like virt-edit would not be able to edit disks marked as <readonly/> in the libvirt XML. It's not clear if this is a bug or a feature. | ||||
* | Flush stdout for progress bars used by guestfish, virt-resize. | Richard W.M. Jones | 2011-10-26 | 1 | -0/+1 |
| | |||||
* | valgrind: guestfish -i: free strings before exit. | Richard W.M. Jones | 2011-10-19 | 1 | -0/+2 |
| | | | | This isn't really necessary, but it keeps valgrind happy. | ||||
* | fish: docs: note how to clean up the remote process properly. | Richard W.M. Jones | 2011-10-13 | 1 | -5/+6 |
| | | | | | | | Killing it is always a bad idea, because the qemu subprocess will be left hanging around. The best thing is to send the exit command. This also makes the change to virt-sysprep. | ||||
* | fish: Close guestfs handle explicitly before exiting. | Richard W.M. Jones | 2011-10-13 | 1 | -0/+2 |
| | | | | | | NOTE this is just a cleanup. It is NOT necessary for correctness, since libguestfs itself is correctly closing the handle in the exit handler. | ||||
* | New tool: virt-sysprep: system preparation for guests. | Richard W.M. Jones | 2011-10-08 | 1 | -0/+1 |
| | |||||
* | fish: Add man page section on calling guestfish remote robustly from bash. | Richard W.M. Jones | 2011-10-07 | 1 | -0/+32 |
| | |||||
* | New tool: virt-alignment-scan to check alignment of partitions. | Richard W.M. Jones | 2011-10-05 | 1 | -0/+1 |
| | |||||
* | New tool: virt-sparsify to make disk images sparse. | Richard W.M. Jones | 2011-10-04 | 1 | -0/+1 |
| | |||||
* | man pages: Add a standard EXIT STATUS section to most pages. | Richard W.M. Jones | 2011-08-27 | 1 | -1/+1 |
| | |||||
* | progress: Make default UTF-8 progress bar less black. | Richard W.M. Jones | 2011-08-26 | 1 | -1/+1 |
| | |||||
* | progress: Add machine readable flag. | Richard W.M. Jones | 2011-08-26 | 2 | -13/+26 |
| | | | | | | | | Machine-readable progress bars look like: 0/100 1/100 2/100 | ||||
* | fish: Make progress bars into a mini library. | Richard W.M. Jones | 2011-08-26 | 6 | -165/+207 |
| | | | | This library could now be called from other virt tools. | ||||
* | fish: clarify comment: shared source files are used by virt tools too. | Richard W.M. Jones | 2011-08-26 | 1 | -3/+3 |
| | |||||
* | Coverity: Initialize msg buffer. | Richard W.M. Jones | 2011-08-23 | 1 | -0/+2 |
| | | | | | msg_flags was not being initialized and would have been passed to sendmsg with a random value. | ||||
* | Coverity: fix memory leak in guestfish. | Richard W.M. Jones | 2011-08-23 | 1 | -2/+1 |
| | |||||
* | pclose: Fix other places where we only tested pclose == -1. | Richard W.M. Jones | 2011-08-23 | 1 | -1/+1 |
| | | | | pclose can return > 0 when the status of the command was non-zero. | ||||
* | Coverity: Check guestfs_inspect_get_product_name() != NULL before using. | Richard W.M. Jones | 2011-08-23 | 1 | -1/+1 |
| | |||||
* | fish: Add fish-cmds.h to generator_built. | Richard W.M. Jones | 2011-08-17 | 1 | -0/+1 |
| | | | | This updates commit 3064277680ad11f887691646d0fa17bb35f38c19. | ||||
* | out-of-tree build: fix documentation generation II | Hilko Bengen | 2011-08-17 | 1 | -2/+2 |
| | |||||
* | out-of-tree build: remove unneeded explicit paths | Hilko Bengen | 2011-08-17 | 1 | -4/+4 |
| | |||||
* | out-of-tree build: fix documentation generation | Hilko Bengen | 2011-08-15 | 1 | -9/+9 |
| | |||||
* | fish: Document that remote run in cmd substitution context hangs. | Richard W.M. Jones | 2011-08-12 | 1 | -0/+11 |
| | | | | This documents bug 592910. | ||||
* | fish: Add setenv and unsetenv commands. | Richard W.M. Jones | 2011-08-07 | 2 | -0/+70 |
| | | | | | These commands allow you to manipulate the environment within guestfish. |