Richard W.M. Jones
5a69428f5e
sysprep: Be prepared for CentOS etc. 7 which will act the same way as RHEL 7.
2013-05-21 13:59:54 +01:00
Richard W.M. Jones
d2abdddf61
sysprep: Update /etc/machine-info on Fedora 18+, RHEL 7+ (RHBZ#890027).
2013-05-21 13:59:54 +01:00
Richard W.M. Jones
0daa83cc91
sysprep: Refactor code, introducing a function to replace a line in a file.
2013-05-21 13:59:54 +01:00
Richard W.M. Jones
3f0b54395c
Update API support.
2013-05-21 13:26:49 +01:00
Richard W.M. Jones
87ba073dd5
guestfs-recipes: Two more recipes from my blog.
2013-05-20 22:20:44 +01:00
Richard W.M. Jones
c74f7f15cb
examples: If user does 'mount-local --help' don't create a disk image called '--help'.
2013-05-20 21:46:49 +01:00
Richard W.M. Jones
49979931f6
fuse: Reimplement umount-local using guestunmount.
...
Instead of repeating the same code calling fusermount -u, retrying, etc.
2013-05-20 21:42:52 +01:00
Richard W.M. Jones
e37de54929
gluster: Normal port number (assuming 1 brick) is 24007.
2013-05-20 15:43:49 +01:00
Richard W.M. Jones
0ff8b315f5
gluster: Note that client needs to run as root.
2013-05-20 15:42:56 +01:00
Richard W.M. Jones
dcff65722f
gluster: Force exportname to begin with a '/' character.
2013-05-20 15:27:57 +01:00
Richard W.M. Jones
f3bbd1f4dd
gluster: Don't force gluster port number to be specified.
...
Gluster can choose its own port number.
2013-05-20 15:27:36 +01:00
Richard W.M. Jones
40691b7167
launch: libvirt: Allow port to be optional.
...
Actually if you don't specify the port, currently libvirt gives
an error:
libguestfs: error: could not create appliance through libvirt: XML
error: missing port for host [code=27 domain=20]
However I think that is a bug in libvirt:
https://bugzilla.redhat.com/show_bug.cgi?id=965142
2013-05-20 15:13:09 +01:00
Richard W.M. Jones
fae4a2cfb9
appliance: Don't use 'rm -f' on files which ought to exist.
2013-05-20 09:00:16 +01:00
Hilko Bengen
40a0e08619
fish/test-events.sh: ignore "trace get_path" line
...
The test would fail when LIBGUESTFS_PATH was not set.
2013-05-19 21:55:29 +02:00
Hilko Bengen
b862d95c47
./run: Turn error message about missing LIBGUESTFS_PATH into warning; output to STDERR
...
The previous behavior caused the build to abort when trying to build
the sysprep documentation -- without much of a hint of what went
wrong.
2013-05-19 21:55:26 +02:00
Richard W.M. Jones
95ed4949f2
README: Clarify that building from git needs './autogen.sh'.
2013-05-19 16:40:19 +01:00
Richard W.M. Jones
2147d9d6cd
daemon: Don't install man page for guestfsd(8) if --disable-install-daemon.
2013-05-18 07:43:43 +01:00
Richard W.M. Jones
f9eee0ad8d
php: Work around buggy PHP returning array as long.
...
Because OStringList is an optarg, we must specify "a!" to
zend_parse_parameters.
However zend_parse_parameters still returns this as a *long* rather
than a NULL (or empty array) so positively check that it has returned
an array.
2013-05-17 11:54:07 +01:00
Richard W.M. Jones
6d87aaefa0
php: Fix comment in run-php-tests.sh.
...
This updates commit cd40cf7139 .
2013-05-17 11:53:45 +01:00
Richard W.M. Jones
2d58c42ab8
Update release notes.
2013-05-17 11:13:07 +01:00
Matthew Booth
f7c312ba6b
Fix compiler warning when libselinux is not present
...
static function selinux_warning() isn't used if HAVE_LIBSELINUX isn't
defined, which results in a warning.
2013-05-17 10:27:57 +01:00
Hilko Bengen
e5f0dfb6e3
Use pkg-config for Python
...
At least libpython2.7-dev and libpython3.3-dev on current
Debian/unstable ship with pkg-config files. As with the pkg-config
check for Lua, we check for versioned and an unversioned .pc files.
2013-05-17 08:51:38 +01:00
Richard W.M. Jones
7865f82537
appliance: Run lvmetad if it exists.
...
This daemon is used by newer LVM to interface with udev events.
2013-05-16 11:11:39 +01:00
Richard W.M. Jones
ef199cf66e
Version 1.21.39.
1.21.39
2013-05-15 13:00:09 +01:00
Richard W.M. Jones
e70927a5e5
drives: Fix rules for quoting files that contain ':'.
...
The test was backwards.
This fixes commit a95214b198 .
2013-05-13 15:51:54 +01:00
Richard W.M. Jones
11774eeb80
faq: Update documentation for Debian Squeeze (thanks Hilko Bengen).
2013-05-13 10:08:15 +01:00
Richard W.M. Jones
dee7ab1b79
http: Fix typo in documentation.
...
This fixes commit 83f74f5c56 .
2013-05-11 20:14:26 +01:00
Richard W.M. Jones
83f74f5c56
Add support for qemu's curl driver (ie. FTP, FTPS, HTTP, HTTPS, TFTP).
2013-05-11 18:49:15 +01:00
Richard W.M. Jones
e3c2397165
iscsi: Document that one server must be passed, and that username may be passed.
...
This fixes commit 8b271101a1 .
2013-05-11 18:09:30 +01:00
Richard W.M. Jones
be05a036e2
drives: Fix typo in error message.
...
This fixes commit 0a065c4574 .
2013-05-11 18:04:25 +01:00
Richard W.M. Jones
af0f2cc9e5
Version 1.21.38.
1.21.38
2013-05-11 15:54:09 +01:00
Richard W.M. Jones
0a1111391b
build: Add 'make maintainer-tag' rule for tagging HEAD with current version.
2013-05-11 15:54:09 +01:00
Richard W.M. Jones
ec3d3a809a
tests/regressions: Remove bogus comment in test.
...
This updates commits a95214b198 .
2013-05-11 15:51:12 +01:00
Richard W.M. Jones
a95214b198
drives: Remove check for ':' in filename (RHBZ#811649).
...
Modern qemu can now handle this properly. ':' is only special if what
precedes it looks like a transport, so:
qemu-system-x86_64 -drive foo:bar .. fails
qemu-system-x86_64 -drive ./foo:bar .. works
Thus by adding ./ in front of relative paths that contain ':' we can
work around this.
In addition, this broke iscsi:// URIs because iSCSI target names
routinely contain ':' characters.
2013-05-11 13:47:27 +01:00
Richard W.M. Jones
0a065c4574
drives: ceph/gluster/iscsi/sheepdog/ssh: Force the disk name to begin with a '/'.
...
This avoids confusion when using URIs in guestfish, since the path
will always start with a '/', and we don't otherwise know if we should
remove it or not. By forcing the '/' to always be there, we deal with
this problem in the API instead.
2013-05-11 13:33:36 +01:00
Richard W.M. Jones
914d3e68ec
drives: Use libxml2 to construct safely quoted URIs for qemu.
2013-05-11 13:23:48 +01:00
Richard W.M. Jones
8b271101a1
Add support for iSCSI.
2013-05-10 22:24:24 +01:00
Richard W.M. Jones
7a9ebd757c
src/inspect-fs.c: Don't segfault if internal_parse_mountable returns NULL (RHBZ#961812).
2013-05-10 14:23:08 +01:00
Richard W.M. Jones
6a1c76807e
./run: Don't set LIBGUESTFS_PATH if --disable-appliance.
...
Thanks Dave Vasilevsky for spotting this problem.
2013-05-09 18:52:01 +01:00
Richard W.M. Jones
55eae0af3b
recipes: Add link to script for converting Windows DVD to bootable USB key.
2013-05-09 15:35:46 +01:00
Richard W.M. Jones
d661456225
New API: cp-r
...
This runs 'cp -rP' and is useful for copying when the target
doesn't support file owners or permissions (ie. FAT).
2013-05-09 15:35:08 +01:00
Richard W.M. Jones
e7e8a1bfef
Version 1.21.37.
1.21.37
2013-05-09 10:22:44 +01:00
Richard W.M. Jones
3287f177e0
fish/options.c: Whitespace changes.
2013-05-09 08:52:40 +01:00
Dave Vasilevsky
a820e9e3bd
fuse: Document the fstype parameter
2013-05-09 08:42:55 +01:00
Dave Vasilevsky
f83df69bec
fuse: Allow specifying the fstype of a mount
2013-05-09 08:42:55 +01:00
Richard W.M. Jones
bec7888be3
rbd: Miscellaneous stylistic changes, no functional change.
2013-05-08 11:50:31 +01:00
Richard W.M. Jones
51f7c6bb82
Use size_t for loop iterators.
2013-05-08 11:50:09 +01:00
Richard W.M. Jones
97274c7f75
src/libvirt-domain.c: Cast constant strings to avoid warning about signedness.
2013-05-08 11:46:20 +01:00
Richard W.M. Jones
afc870dd76
src/drives.c: 'auth' string is const.
...
This fixes commit f3e01b69e0 .
2013-05-08 11:45:27 +01:00
Mike Kelly
3e76844bc1
rbd: Support using a custom secret
2013-05-08 11:18:03 +01:00