Remove get_metadata() from os_type classes
authorNikos Skalkotos <skalkoto@grnet.gr>
Fri, 18 May 2012 16:14:12 +0000 (19:14 +0300)
committerNikos Skalkotos <skalkoto@grnet.gr>
Fri, 18 May 2012 16:14:12 +0000 (19:14 +0300)
commit5886f568337cad55facff1132344374553bd8b1f
treeffb0c9ffe544f941c3c5e0bad1b77a74e6f5a493
parent7d3dc8578bc21a6c0578f5040ea414a6c530485a
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
example, remove_user_accounts sysprep action may remove a user that
is present in the USERS metadata.
image_creator/main.py
image_creator/os_type/__init__.py
image_creator/os_type/ubuntu.py
image_creator/os_type/unix.py