fix typo that removed wrong file during teardown
Teardown was not removing the correct NetworkManager file
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