History | View | Annotate | Download (12.7 kB)
Add support for sysprep-parameters
The user may define parameters needed by the os_type classes to performthe system preparation tasks.
A new needed_sysprep_params method is added to os_type.OSBase thatreturns a list with parameters that should be defined by the user.
Remove bootable options from image class
It has never been used. If we need it in the future, we will bringit back
Pass the Image instance to the os_type classes
Those classes may need to access more Image data than the guestfshandler and the root device name
Add check_guestfs_version function
This function is used to check if a specified libguestfs version issmaller, greater or equal to the installed one
Code Cleanup
Move mount/umount from image to os_type module
Minor warning message change
Support mounting freebsd ufs filesystems
UFS2 filesystems don't get automatically detected by the linuxkernel. We need to explicitly state the correct filesystem typeand options
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.
Add missing docstrings
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. InImage class create the `os' member variable that will host anappropriate instance of one of the OSBase classes.