Make the lack of a libvirt bridge actionable.

As pointed out by Rich Jones, an exception that says:

ERROR: Could not find a viable libvirt NAT bridge, install cannot continue

is neither clear nor actionable.  Change this text to
explain better what the error is, and point to a wiki
page explaining more about what the problem is and
possible ways to remedy the problem.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Add support for OpenSUSE 12.3

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Remove pycompat from debian.

Also update dependency to be python-guestfs

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Add debian postrm and watch files

Original patch from Hideki Yamane

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Update compat and control to version 8.

Original patch from Hideki Yamane

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
added version 12.04.2 of Ubuntu
Added RHEL 6.4
Allow the user to specify disk bus and nic model

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Fix up Mandrake 8.2 breakage from last commit

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Remove unused variables and imports pointed out by pyflakes

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Update Ubuntu unittests to handle new support

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Shore up the implementation of copyfile_sparse

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Make the RPM spec file depend on libvirt-daemon-config-network

As pointed out by giulivo, current RPM distributions
will not start the default network without
libvirt-daemon-config-network installed.  While it is
possible to use Oz without this default network, I think
that most users would be happier to have it installed.
Make oz depend on libvirt-daemon-config-network.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Add file exists check to copyfile_sparse

In acbb467709ce43b9c16b0ad2f5e025533fe8505c a os.path.samefile was added but no checks on if dest / src exist prior to it.
This is problematic especially when the destination file does not exist already. Now it only runs samefile when a dest already exists.
Move some common linux stuff into linuxutil

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Remove unnecessary bootloader lines in Fedora

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Add support for Ubuntu 13.04

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Warn instead of failing when given libvirt_xml with more than one disk

Oz itself never generates libvirt XML with more than one disk.

Allowing users to pass in modified guests at their own risk allows
for some interesting use cases.

The one I'm specifically interested in involves using Image Factory
plus Oz to drive the creation of Live CD images entirely inside of
VMs.
Fixes to improve pylint score

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Added support for setting custom MAC address to guests

This patch allows the users to specify the MAC address
of the guests instead of using the default generator
included in Oz. This can bring some flexibility while
customizing the guests OS in networks with non-trivial
DHCP configurations.