Follow subprocess commands as they are executed.

This allows you to debug certain things much more easily.
The slight downside is that this does not work on
platforms without select(), but Oz probably didn't
anyway.  If that becomes an issue, there is a solution
involving threads.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Make sure to use absolute paths.

We need to make sure to use absolute paths everywhere.
Besides being safer, this also avoid problems when trying
to look up volumes in the libvirt storage pools.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Remove unused "remove_repos" method.

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

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Rename disk_number -> disk_size in the tdl.rng.

No functional change; it just makes more sense.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Remove unused clientcert, clientkey, and cacert.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Rationalize the verbosity of the calls to genisoimage.

Especially now that we are printing output along the way,
we want to make sure we have a little bit less output,
and more consistent output between the various OSs.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Fix the live upload method.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Make sure to put the baseurl in RedHat repositories.

This was broken by the earlier cleanup patch to
switch to the "with" syntax.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Re-implement repo removal.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Minor style fixup in OpenSUSE.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
skip failed guestfs-os-inspect mounts and try to continue

Some custom guests may have fstab content with "nofail" as a mount
option.  For example, images built for EC2 with ephemeral mappings.
The guestfs inspection code reports these mounts and they fail if
we try to mount them during normal Oz operations like ICICLE
generation.  This patch allows things to continue.  Profound issues
in the output image should trigger errors later during the process.
Add support for OpenSUSE 13.1

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

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
make F19 JEOS kickstart work for both iso and url methods
update brokeniso usage - revert F19 and F20 kickstart files

The iso command line issue seems to have been resolved between F17 and F18.

Further testing indicates that the improper use of the brokeniso flag
is the actual root cause of the issues with the original F19 JEOS ks
file.

With the flag set correctly we can now use the same kickstart file for
F18, F19 and F20.
Add initial support for the RHEL 7 Beta release
use explicit repo=cdrom command line option - revert to F18/19/20 kickstart for RHEL7

This follows on from the discovery that the "brokeniso" bug was fixed in the F18
timeframe.  The kernel command line option allows us to use the same kickstart for
RHEL7, and F18-F20.
Disable Ubuntu 13.10 installs with the desktop CD.

For the moment, I just can't figure out why the installer
always crashes.  Throw an exception when we detect it,
and hopefully someone will figure it out in the future.

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

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