Added support for Debian 7
Add the serial console back to Fedora kickstarts.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Re-enable serial consoles on the libvirt XML.

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

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Fix up a comment

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Fix up Mandrake 8.2 installation

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Add additional unit tests.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Break out of loop in _internal_generate_diskimage when pool found

Otherwise, if the correct pool was not the last item in the array, it
would get replaced with the last array item and later libvirt would
fail to find the disk image (since it was in the wrong pool).
Support for Ubuntu 5.10.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
Add support for Ubuntu 5.04

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Update the factory tests.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Update the documentation for guest_factory.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Update the oz-examples man page.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Make file and command customization use less memory.

If we fetched files or commands via the URL mechanism
or through the base64 decoding mechanism, we used to
store all of the downloaded/decoded data in memory.
This is a huge memory hog, particularly for large
files.  Change this to use temporary files instead;
it will use much less memory, and is less code
to boot.

Note that commands still end up using the same amount
of memory, since they need to be read and executed
at some point.  But this is delayed until they are
actually used, and regardless this mechanism helps
for files.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Use /dev/ttyS1 for the reportip

Since we are now using /dev/ttyS0 for the serial
console, switch to using /dev/ttyS1 for the
reportip.  This fixes customization.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Make sure to refresh the pool before using it.

Sometimes the pools can get stale; this mostly
avoids the problem.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
fix directory creation
Re-arrange wait_for_guest_boot to always close socket.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Remove some unnecessary intermediate variables.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Allow mkdir_p to accept the empty string.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>