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>
Generalized version for adding extra folders to installation media

This patch allows the user to add extra folders to the
installation media. This is useful for windows use case, as it
allows to put the $OEM$ folder for customization. In other
environments, it can be used for placing extra content that needs
to be loaded from the installation media.
Add ftp transfers to supported extra ISO types
Add http support to the extraiso mechanism

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Fix sparse file copying.

As pointed out by Ruslan Lutsenko (spil-ruslan),
you can't annotate \0 with r during copyfile_sparse.
That makes the sparseness go away.  Fix that here.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Make sure os.read/write() succeeds

...in the face of EINTR, and short writes (for write)

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Push the auto variable down into Guest.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Make sure all Ubuntu versions can find the preseed file.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Cleanup and clarify the kickstart injection code.

This splits out common functionality into
ozutil, and makes it easier to read.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Fix an obvious bug in the add_isoextras exception.

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

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Rewrite do_install to be more readable.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Add a couple more items to the TODO list.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Update the TODO list to be more readable.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Slightly update the README file.

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

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Fix a udev / grub problem
See https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/604335
      https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/565146
      http://lists.opensuse.org/opensuse-bugs/2012-04/msg00301.html