Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add 'virt-rescue' command. | Richard Jones | 2009-09-23 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This command runs a "rescue appliance" against a virtual machine or disk image. This is useful for making ad-hoc interactive changes to virtual machines. $ virt-rescue --ro /dev/vg_trick/F11x64 Welcome to virt-rescue, the libguestfs rescue shell. Note: The contents of / are the rescue appliance. You have to mount the guest's partitions under /sysroot before you will be able to examine them. bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell ><rescue> mount /dev/vg_f11x64/lv_root /sysroot EXT4-fs (dm-0): barriers enabled kjournald2 starting: pid 269, dev dm-0:8, commit interval 5 seconds EXT4-fs (dm-0): internal journal on dm-0:8 EXT4-fs (dm-0): delayed allocation enabled EXT4-fs: file extents enabled EXT4-fs: mballoc enabled EXT4-fs (dm-0): mounted filesystem with ordered data mode ><rescue> ls /sysroot/ bin dev home lib64 media opt root selinux sys usr boot etc lib lost+found mnt proc sbin srv tmp var ><rescue> exit | ||||
* | Tidy up appliance rescue code. | Richard Jones | 2009-09-23 | 1 | -3/+7 |
| | | | | | The appliance shouldn't run the daemon after we leave the rescue shell. It should just exit instead. | ||||
* | Add diffutils package. | Richard Jones | 2009-09-14 | 1 | -0/+1 |
| | | | | | On Fedora 12, /usr/bin/cmp is not pulled in unless we explicitly add the diffutils package. | ||||
* | mke2fs: Use e4fsprogs programs if available. | Richard W.M. Jones | 2009-08-19 | 1 | -0/+2 |
| | | | | | | | On RHEL 5, mke2fs is ancient, and there is a non-standard "mke4fs" binary which acts like the more recent mke2fs on Fedora. Since there are several annoyances and actual bugs in the ancient RHEL 5 mke2fs, use mke4fs instead if it's available. | ||||
* | appliance: Remove /usr/sbin/tcpd - it's unreadable on RHEL 5.4. | Richard Jones | 2009-08-13 | 1 | -0/+1 |
| | |||||
* | Add 'setcon', 'getcon' commands to set and get the SELinux context. | Richard Jones | 2009-08-13 | 1 | -0/+1 |
| | |||||
* | If using SELinux, mount /selinux in the appliance. | Richard Jones | 2009-08-12 | 2 | -0/+7 |
| | | | | | | If selinux=1 on the Linux kernel command line, then we mount /selinux in the appliance. We will also bind-mount this directory into guests when we run commands. | ||||
* | Add contents of /proc/mounts to the debugging information. | Richard Jones | 2009-08-11 | 1 | -0/+1 |
| | |||||
* | Add ne2k-pci driver to the appliance. | Richard Jones | 2009-08-06 | 1 | -0/+4 |
| | | | | | This allows people to use the ne2k-pci network driver, for those situations where the virtio_net driver is broken (cough 516022 cough). | ||||
* | appliance: More debug added to /init. | Richard Jones | 2009-08-06 | 1 | -0/+2 |
| | |||||
* | appliance: Include more debug output in the /init script. | Richard Jones | 2009-08-06 | 1 | -5/+12 |
| | | | | | Output more debugging information from this script, to enhance the usefulness of LIBGUESTFS_DEBUG output. | ||||
* | build: remove trailing blank lines; enable the syntax-check rule | Jim Meyering | 2009-08-04 | 5 | -5/+0 |
| | | | | | | | | | | | | | | * cfg.mk (disable_temporarily): Remove sc_prohibit_trailing_blank_lines. * appliance/Makefile.am: Remove trailing blank line(s). * appliance/debian/modules/y0_install-guestfsd: Likewise. * appliance/make.sh.in: Likewise. * appliance/packagelist.in: Likewise. * appliance/update.sh.in: Likewise. * haskell/run-bindtests: Likewise. * ocaml/run-bindtests: Likewise. * python/run-python-tests: Likewise. * recipes/squashfs.example: Likewise. * ruby/run-ruby-tests: Likewise. | ||||
* | Convert all TABs-as-indentation to spaces. | Jim Meyering | 2009-08-03 | 2 | -14/+14 |
| | | | | | | | | | | | Do it by running this command: [exempted files are matched via .x-sc_TAB_in_indentation] git ls-files \ | pcregrep -vf .x-sc_TAB_in_indentation \ | xargs pcregrep -l '^ *\t' \ | xargs perl -MText::Tabs -ni -le \ '$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_' | ||||
* | Ignore failure of 'mv' commands in appliance Makefile. | Richard W.M. Jones | 2009-07-31 | 1 | -2/+2 |
| | | | | | A lot of people report these as 'errors' when they are not. Hide the error messages. | ||||
* | add nls_base.ko and nls_cp437.ko for vfat | Guido Günther | 2009-07-18 | 1 | -0/+2 |
| | |||||
* | Fix non-srcdir builds: Files generated by configure should be in the tarball. | Richard Jones | 2009-07-16 | 1 | -2/+0 |
| | |||||
* | More misc fixes to non-srcdir builds. | Richard Jones | 2009-07-16 | 1 | -1/+1 |
| | |||||
* | Miscellaneous fixes for non-srcdir builds. | Richard Jones | 2009-07-16 | 1 | -1/+1 |
| | |||||
* | Add reiserfs module to kernel whitelist. | Richard Jones | 2009-07-14 | 1 | -0/+2 |
| | |||||
* | RHEL 5: RHEL kernels don't have $arch at the end, so look for non-arch ↵ | Richard Jones | 2009-07-07 | 1 | -1/+5 |
| | | | | kernels too. | ||||
* | use 'stupid_simple' instead of 'nested' initramfs | Guido Günther | 2009-07-04 | 1 | -1/+1 |
| | | | | speeds up start of the appliance | ||||
* | select proper kernel by architecture | Guido Günther | 2009-07-04 | 1 | -1/+1 |
| | |||||
* | Make it possible to build in a separate directory | Matthew Booth | 2009-07-03 | 3 | -3/+5 |
| | | | | | | | | | | | | | | | | | | | | | | This patch allows you to do: mkdir build cd build ../configure ... make This will output all generated files to the build directory. Given that autogen automatically runs configure, you can also do: BUILDDIR=./build ./autogen.sh which will do the right thing. Also: * Fix a dependency bug which means that guestfs_protocol.h isn't automatically rebuilt. * Re-running autogen.sh with no arguments won't blow away your previous configure arguments. | ||||
* | touch fakeroot.log | Guido Günther | 2009-07-03 | 1 | -0/+2 |
| | | | | indicationg we're done creating the appliance | ||||
* | remove superflous debirf scripts | Guido Günther | 2009-07-03 | 5 | -8/+0 |
| | |||||
* | Don't keep rebuilding debirf module symlinks. | Richard W.M. Jones | 2009-07-03 | 1 | -0/+1 |
| | |||||
* | Add Debian appliance directory to the distfile. | Richard W.M. Jones | 2009-07-03 | 1 | -1/+22 |
| | | | | | | | 'make dist' won't copy symlinks into the output file, so we have to add a rule to the Makefile to copy these. (Issue reported by Guido Gunther). | ||||
* | Don't rebuild the whole appliance if just the /init script has been changed. | Richard W.M. Jones | 2009-07-02 | 3 | -11/+7 |
| | |||||
* | Improve virtio-blk performance (RHBZ#509383). | Richard W.M. Jones | 2009-07-02 | 1 | -0/+3 |
| | |||||
* | Build Debian based appliance using debirf | Guido Günther | 2009-07-02 | 2 | -123/+139 |
| | |||||
* | add debirf files | Guido Günther | 2009-07-02 | 12 | -0/+117 |
| | |||||
* | unconditionally load dm module | Guido Günther | 2009-07-02 | 1 | -1/+1 |
| | | | | needed for device mapper (LVM) | ||||
* | add missing module | Guido Günther | 2009-07-02 | 1 | -0/+1 |
| | | | | for modularized Debian kernels | ||||
* | Whitelist kernel modules for hardware emulated by QEMU | Guido Günther | 2009-06-30 | 1 | -4/+13 |
| | | | | | (Modified from Guido's original patch to use a wildcard to specify all virtio modules - RWMJ). | ||||
* | Use udev if available (Guido Gunter). | Guido Günther | 2009-06-30 | 2 | -19/+30 |
| | | | | Added support for Fedora's udev (Richard Jones). | ||||
* | define REDHAT and DEBIAN | Guido Günther | 2009-06-30 | 2 | -8/+18 |
| | | | | so we can preprocess packagelist.in | ||||
* | Fix permissions on generated scripts in the appliance/ directory. | Richard W.M. Jones | 2009-06-24 | 1 | -10/+0 |
| | |||||
* | Make the supermin helper look for any x86 kernel | Matthew Booth | 2009-06-23 | 1 | -5/+5 |
| | | | | | | If you've got a non-PAE kernel installed on an i686 machine, the kernel architecture is i586. This change makes sure that supermin finds the installed kernel. | ||||
* | Added 'scrub-*' commands for securely scrubbing filesystems. | Richard W.M. Jones | 2009-06-23 | 1 | -0/+1 |
| | |||||
* | Add whitespace to the init script (no functional change). | Richard Jones | 2009-06-22 | 1 | -1/+10 |
| | |||||
* | Issue MAKEDEV commands in a loop (RHBZ#507374). | Richard Jones | 2009-06-22 | 1 | -2/+6 |
| | |||||
* | Include the lsof package. | Richard Jones | 2009-06-22 | 1 | -0/+1 |
| | |||||
* | test-boot-realistic rule should boot the rescue shell. | Richard Jones | 2009-06-22 | 1 | -1/+1 |
| | |||||
* | Rebuild supermin appliance when the daemon is updated. | Richard Jones | 2009-06-22 | 1 | -1/+1 |
| | |||||
* | Supermin: choose newest available kernel. | Richard W.M. Jones | 2009-06-19 | 1 | -4/+6 |
| | |||||
* | Move init script into a separate file. | Richard W.M. Jones | 2009-06-19 | 3 | -35/+32 |
| | |||||
* | Move distro package list to a separate packagelist.in file. | Richard W.M. Jones | 2009-06-19 | 3 | -25/+43 |
| | |||||
* | Remove unreadable binaries that give warnings in supermin appliance. | Richard Jones | 2009-06-18 | 1 | -0/+20 |
| | |||||
* | Rename guestfs-supermin-helper -> libguestfs-supermin-helper. | Richard Jones | 2009-06-18 | 2 | -3/+3 |
| | |||||
* | Don't compress the supermin base initramfs. | Richard Jones | 2009-06-16 | 1 | -1/+4 |
| |