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.
Showing
- image_creator/main.py 1 addition, 1 deletionimage_creator/main.py
- image_creator/os_type/__init__.py 7 additions, 10 deletionsimage_creator/os_type/__init__.py
- image_creator/os_type/ubuntu.py 6 additions, 6 deletionsimage_creator/os_type/ubuntu.py
- image_creator/os_type/unix.py 10 additions, 5 deletionsimage_creator/os_type/unix.py
Loading
Please register or sign in to comment