Statistics
| Branch: | Tag: | Revision:

root / image_creator / os_type @ 20409e9f

Name Size
__init__.py 7.4 kB
freebsd.py 1.6 kB
hurd.py 1.6 kB
linux.py 8.4 kB
netbsd.py 1.6 kB
slackware.py 2 kB
ubuntu.py 2.1 kB
unix.py 6.6 kB
windows.py 1.6 kB

Latest revisions

# Date Author Comment
20409e9f 06/25/2012 02:39 pm Nikos Skalkotos

Use vfs_uuid instead of blkid to compute uuid

vfs_uuid is more suitable for this and it whas added before blkid
in guestfs, hence it is supported in more guestfs versions.

e7cbfb0a 06/21/2012 06:10 pm Nikos Skalkotos

Add get_sysprep_by_name method in os_type classes

This method returns a sysprep object with a given name. Now,
(enable,disable)_sysprep work with sysprep objects instead of sysprep
names

f8cccab5 06/21/2012 02:13 am Nikos Skalkotos

Fix a bug introduced in 2e50092b2437913561a37c646e

The do_sysprep method was not updated to comply with the changes
made in list_syspreps method

755e1885 06/20/2012 06:30 pm Nikos Skalkotos

In linux.py make sysprep names for descriptive

12078c7e 06/20/2012 04:28 pm Nikos Skalkotos

Add sysprep_info method in os_type classes

This method takes a sysprep object as argument and returns the name
and a description for this object.

2e50092b 06/20/2012 03:17 pm Nikos Skalkotos

Make os_type list_sysprep method return 1 list

The method used to return 2 lists of enabled and disabled sysprep
object. Since sysprep objs contail an `enabled' attribute, it is easy
to determine which of those are enabled and which are not. There is
no need to return 2 seperate lists.

bb4db5a8 06/14/2012 11:37 am Nikos Skalkotos

Fix a bug introduced in 4e58b51b

The error function main.py used for outputing errors has been removed
and the code was not updated to use the error method of SimpleOutput
output class.
Also did a minor cleanup: git_os_class function was renamed to os_cls

e77e66a9 06/05/2012 07:08 pm Nikos Skalkotos

Unify output by creating a seperated output module

All image-creator components now output messages using an instance
of one of the output classes.

5886f568 05/18/2012 07:14 pm Nikos Skalkotos

Remove get_metadata() from os_type classes

The metadata are collected in the constructor and are saved in the
meta variable. This way they can be accessed and altered by the
sysprep methods. There are cases where some metadata are not valid
and need to be updated after a sysprep action is performed. For...

4a2fd05c 05/16/2012 03:23 pm Nikos Skalkotos

Add remove_swap_entry sysprep in linux

This action will remove the swap entry from the fstab.

View revisions

Also available in: Atom