| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This fixes commit 499497fab03716278cb5214a8aa89a35618e06c6.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
We just remove the process accounting files previously without
touch a empty file, this will cause psacct runs error.
Restart the service can't help us create this file auto.
couldn't open file '/var/account/pacct': No such file or directory
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
|
|
|
|
|
|
| |
free out when failure.
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
|
|
|
|
|
|
| |
Fix typo.
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
|
|
|
|
|
| |
Note that we add the text version to git so that it's available for
people to read without requiring any special tools.
|
|
|
|
| |
Implement rsync.
|
|
|
|
|
| |
This enables the libguestfs user network, and is the equivalent of the
'virt-rescue --network' option.
|
| |
|
|
|
|
| |
See: https://bugzilla.redhat.com/show_bug.cgi?id=847429
|
| |
|
|
|
|
|
|
| |
This adds ~10M to the appliance (328M -> 338M).
However for virt-rescue these are frequently requested tools.
|
|
|
|
|
|
| |
I don't think it ever did, so the --help text was always
wrong, and definitely didn't match the real behaviour of
the program.
|
| |
|
| |
|
|
|
|
| |
(RHBZ#845488).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
In libguestfs 1.20, you will be able to use 'add_drive'
instead of 'add_drive_opts' (except in the C bindings).
However until libguestfs 1.20 is the minimum stable version
people will still be using old versions where you have to use
'add_drive_opts'. This makes the examples confusing.
Therefore continue to use 'add_drive_opts' in the examples
for now.
|
|
|
|
|
|
|
|
| |
This commit makes grep into an optargs API, with flags for extended,
fixed, [case-]insensitive and compressed.
At the same time it deprecates: egrep, fgrep, grepi, egrepi, fgrepi,
zgrep, zegrep, zfgrep, zgrepi, zegrepi and zfgrepi.
|
|
|
|
|
|
| |
New api xfs_growfs for expanding a XFS filesystem.
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
|
|
|
|
| |
This reverts commit fe2253088ff51b51e2586f27a9408a38655170e3.
|
| |
|
| |
|
|
|
|
|
| |
host_cpu can be set to i686. The qemu binary is called
qemu-system-i386. Apply some sed to fix this.
|
|
|
|
|
|
| |
This is a patch taken from libvirt. See:
http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=2af63b1c349
|
| |
|
|
|
|
|
| |
febootstrap >= 3.19 will no longer exclude the kernel package
by default.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Typical output:
><fs> utsname
uts_sysname: Linux
uts_release: 3.5.0-1.fc18.x86_64
uts_version: #1 SMP Mon Jul 23 17:43:39 UTC 2012
uts_machine: x86_64
|
| |
|
| |
|
|
|
|
|
| |
Not necessary, but this makes all invocations of 'run' consistent.
There is no functional change.
|
| |
|
|
|
|
|
|
|
| |
NB: The patch to implement this feature in qemu is not upstream, and
may never make it upstream. However this is so useful for
virt-sparsify that I decided to add this to libguestfs while we see
what qemu decides to do.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allow optargs functions to be called as either:
g.mkfs_opts(fs, device)
or:
g.mkfs_opts(fs, device, { optargs hash })
This also preserves backwards compatibility with once_has_no_optargs
functions such as mkfs.
|
|
|
|
| |
Note that in old versions of Ruby, T_ZOMBIE was not defined.
|
|
|
|
|
| |
This lets you use './run gdb ruby ...' and get accurate
debugging information.
|
|
|
|
|
|
|
|
|
| |
qcow2 v3 is generally more efficient, although unfortunately it
doesn't support automatically sparsifying zero writes.
Note this *only* uses qcow2 v3 for the intermediate overlay file, not
for the final output (since we want the output to be broadly
compatible with old hypervisors).
|
|
|
|
| |
This is just code motion.
|
| |
|
|
|
|
|
|
|
|
| |
These APIs will allow sysprep to change the UUIDs of all PVs and VGs
in the system.
LVs don't have UUIDs AFAICT, or at least there seems to be no way to
change them if they do have them.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
This is just code motion.
|
|
|
|
|
|
|
| |
This operation can create the /etc/machine-id file, so it may need to
be relabelled by SELinux.
This fixes commit e68336d72a7d71a44d80f0d13c40ff44653e5c01.
|
|
|
|
|
|
|
|
|
|
|
| |
remove the local machine ID, leave it empty, let it be generated
during next booting.
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
RWMJ:
- Whitespace change.
- Remove completed items from TODO.
|
|
|
|
|
|
|
|
|
|
| |
remove the automatically generated abrt data.
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
RWMJ:
- Remove copy and pasted line.
- Use C<> in description.
|
|
|
|
|
|
|
| |
Signed-off-by: Masami HIRATA <msmhrt@gmail.com>
RWMJ:
Fixed whitespace in generator_xdr.ml
|
|
|
|
|
|
| |
because Mac OS X doesn't support LD_LIBRARY_PATH
Signed-off-by: Masami HIRATA <msmhrt@gmail.com>
|