Statistics
| Branch: | Tag: | Revision:

root / image_creator / image.py @ 17649dd6

History | View | Annotate | Download (12.7 kB)

# Date Author Comment
c9d53ee2 07/30/2013 04:43 pm Nikos Skalkotos

Remove bootable options from image class

It has never been used. If we need it in the future, we will bring
it back

0eac0256 07/30/2013 04:43 pm Nikos Skalkotos

Add support for sysprep-parameters

The user may define parameters needed by the os_type classes to perform
the system preparation tasks.

A new needed_sysprep_params method is added to os_type.OSBase that
returns a list with parameters that should be defined by the user.

7c6a4186 07/30/2013 04:43 pm Nikos Skalkotos

Add check_guestfs_version function

This function is used to check if a specified libguestfs version is
smaller, greater or equal to the installed one

797e0df7 07/30/2013 04:43 pm Nikos Skalkotos

Pass the Image instance to the os_type classes

Those classes may need to access more Image data than the guestfs
handler and the root device name

121f3bc0 06/11/2013 05:41 pm Nikos Skalkotos

Code Cleanup

  • Prefix all private methods with _
  • Write missing docstrings
  • Move all public methods above the private ones
  • Add module docstrings where missing
  • Define source code encodings on all modules
71b0ab28 06/07/2013 03:24 pm Nikos Skalkotos

Move mount/umount from image to os_type module

c71133ce 05/21/2013 02:37 pm Nikos Skalkotos

Minor warning message change

29fd973e 05/17/2013 02:04 pm Nikos Skalkotos

Support mounting freebsd ufs filesystems

UFS2 filesystems don't get automatically detected by the linux
kernel. We need to explicitly state the correct filesystem type
and options

80411610 04/25/2013 04:21 pm Nikos Skalkotos

Handle better images with distro="unknown"

If the ostype returned by libguestfs is valid and distro in unknown,
don't print the distro at all.

88f83027 03/28/2013 02:26 pm Nikos Skalkotos

Add missing docstrings

f5174d2c 03/26/2013 06:28 pm Nikos Skalkotos

Rename DiskDevice class to Image

Rename DiskDevice class to Image and move it to a seperate module.
Also, don't let the user access the os_type/* modules directly. In
Image class create the `os' member variable that will host an
appropriate instance of one of the OSBase classes.