- Jul 16, 2014
-
-
Nikos Skalkotos authored
Upload the virtio drivers to the media and add the drivers directory to the DevicePath Registry key
-
Nikos Skalkotos authored
It is used many cases and it is better if we cache it.
-
Nikos Skalkotos authored
Add this helper lambda function that can be used to update the value of type REG_EXPAND_SZ
-
Nikos Skalkotos authored
Add a dirty way to install the viostor driver in windows in order to make them bootable. This works on Windows 2008R2
-
Nikos Skalkotos authored
This parameter points to a directory that hosts virtio drivers for windows.
-
Nikos Skalkotos authored
Fix a bug where "$s" instead of "%s" was used in a string as a placeholder. This fixes #17
-
- Jul 15, 2014
-
-
Constantinos Venetsanopoulos authored
Small fixes and code beautification.
-
Nikos Skalkotos authored
Extend the SysprepParam class to support defining a custom check function which can be used to check if the value given by a user when updating a sysprep parameter is valid.
-
Nikos Skalkotos authored
Those lambda functions are used to set a value of type REG_SZ, REG_DWORD and REG_BINARY in a registry node
-
Nikos Skalkotos authored
This attribute hosts the block device associated with this Disk instance. This can be the original media if the source media is a block device, a loop device of the original media if the original media is a regular file or a loop device of a temporary object if the original media is a directory.
-
- Jun 16, 2014
-
-
Constantinos Venetsanopoulos authored
Changes include: * Break windows.py into multiple modules. * Rewrite sysprep parameters mechanism and add a menu entry for this in snf-image-creator expert mode. * Detect if the media is already sysprepped before performing further customizatog. * Don't ask for windows password before customization (reset it if needed) * Detect if the virtio drivers are installed in the media. If not refuse to perform the customization.
-
- Jun 13, 2014
-
-
Nikos Skalkotos authored
Use the @property decorator instead of the property() method to create a read-only os attribute in Image class.
-
Nikos Skalkotos authored
pep8 1.5 introduced a new test (E265) to ensure there's at least one space before block comment.
-
Nikos Skalkotos authored
Now that all sysprep parameters are optional, wizard page is no longer needed.
-
- Jun 11, 2014
-
-
Nikos Skalkotos authored
Add a current_control_set property in Registry class. This way the CurrentControllSet registry key is only computed once.
-
Nikos Skalkotos authored
-
Nikos Skalkotos authored
* Use select_file() to update a "file" sysprep param * Switch the order of <Details> and <Update> buttons * Use the last visited menu entry as default item
-
Nikos Skalkotos authored
There is no need to use PowerShell to write the random token to the serial port. Doing 'echo token > COM1' will do the trick.
-
Nikos Skalkotos authored
* Mount silently when mounting ro * Add a warning if no inspection method is available * In Windows put the "Preparing system for image creation" before mounting takes place
-
Nikos Skalkotos authored
Add the _mount_error attribute in OSBase. If mount fails, the error message is written there.
-
Nikos Skalkotos authored
If the virtio drivers are not installed on the media, raise a FatalError
-
Nikos Skalkotos authored
We used to check for the presence of the winexe executable in the Windows __init__ function. This is not optimal. The winexe check should be done during customization. The user should be able to dump, upload or register an image without having Winexe installed.
-
Nikos Skalkotos authored
Make it more general. Till know it was only used for selecting the input media but other parts of the program should also make use of it.
-
Nikos Skalkotos authored
Rewrite the mechanism to have better control on the system preparation parameters. Also change the way the parameters are updated in the UI.
-
Nikos Skalkotos authored
Add code to check if the source media is a sysprepped windows image. If so, don't allow it to be further customized. This resolves #6
-
Nikos Skalkotos authored
Don't ask the user to enter an Administrator password before cleaning up a Windows image. Reset the password before starting the process and assign the old value if needed at the end.
-
Nikos Skalkotos authored
If the needed sysprep parameters had all default values, snf-image-creator would crash when trying to run the image customization. This bug could not be triggered from the current os_type classes.
-
Nikos Skalkotos authored
This modules hosts the Registry class which contains all the registry manipulation code previously hosted under the Windows class
-
Nikos Skalkotos authored
Add a new _exec_sysprep_tasks method that is called by do_sysprep and hosts the actual code for executing the system preparation tasks
-
Nikos Skalkotos authored
Move all helper methods that control the Winodows VM from Windows to VM class
-
- Jun 10, 2014
-
-
Nikos Skalkotos authored
-
Nikos Skalkotos authored
In add_sysprep_param __init__ decorator, add the sysprep parameters before executing the init function. This is needed if we want to be able to access the sysprep_params dictionary from within __init__.
-
Nikos Skalkotos authored
As the windows module got bigger and bigger we had to break it into more files
-
Nikos Skalkotos authored
Add a context manager in windows.py for reading and writing hive files. Whenever a method needs to access the Windows registry it should use this context manager.
-
Nikos Skalkotos authored
According to the decision of the GRNET Board of Directors, switch license to GPLv3. This commit will be propagated to the release and master branches based on git flow, and the next release will be licensed as GPLv3.
-
Nikos Skalkotos authored
Bump version to 0.6.2next
-
Nikos Skalkotos authored
-
Nikos Skalkotos authored
-
Nikos Skalkotos authored
Automatically load the version from the version.py file
-
Nikos Skalkotos authored
-