Add .{,z}sh_history in the sensitive user data
Merge branch 'master' into develop
Conflicts: image_creator/version.py version
Update version.py and ChangeLog for 0.6.1
Use CachedAstakosClient in kamaki wrapper
Bump version to 0.6next
Update version and ChangeLog for 0.6
Fix typos in windows.py
Fix a bug in InfoBoxOutput class
If the text was more lines that the height of the active region in the dialogthe 2 last lines were not displayed.
Add extra `smp' & `mem' sysprep params in Windows
Those parameter can be used to control how many CPUs and how much RAMthe Windows VM should have during the configuration
Switch names btw snf-image-creator & snf-mkimage
Make snf-image-creator be the dialog-based program and snf-mkimage bethe command line one.
Make winexe an optional dependency
Check the presence of the winexe executable at runtime only if theinput media is a Windows system
Fix windows filesystem shrink
Make it work with Windows Server 2012 R2. The format ofshrink querymax command has changed.
Add KMS Client Setup Keys for new windows systems
Add KMS client setup keys for Windows Server 2012 R2 and Windows 8.1
Fix type in a windows error message
Remove backup file for shadow
In Linux when clearing out the account, remove the backup file:/etc/shadow-
Fix typo in comment
Change the dialog inputbox of register to form
This allows us to add a Description field in register. This can beused to update the DESCRIPTION image property
Rename diagnose to inspect
Add diagnose() method in OSBase derived classes
This can be used to perform various tests to determine if the mediais supported.
Allow image creation from unsupported media
Add a new "Unsupported" os_type class. Images that get created fromunsupported media have the EXCLUDE_ALL_TASKS property enabled.
Merge branch 'hotfix-0.5.3' into develop
Update version.py and ChangeLog for 0.5.3
Fix a crash in dialog menu
The program would crash if no image properties were available andthe user chose "Edit properties" or "Delete Properties" in thecustomization menu
Merge branch 'hotfix-0.5.2' into develop
Update version.py and ChangeLog
Update version to 0.5.1next
Update ChangeLog and version.py for 0.5.1
Fix a KeyError bug in dialog_wizard.py
Extend the allowed cloud name characters
Allow the characters that kamaki allows
Use forceall in e2fsck if available
Before shrinking a filesystem use the e2fsck -y if the underlinedguestfs library supports it.
In _foreach_file check if the directory exists
Otherwise print a warning.
Update ChangeLog and version for 0.5
Fix version check introduced in aca3e6508c7ae3f5ee
The fix was backported to version 1.16.11
Fix a typo in one of the input options
--print-sysprep should be --print-syspreps
Convert check_guestfs_version into an Image method
It used to be a function in util module
Fix multiple bugs in util.get_kvm_binary
The machine hardware name fetched by `uname m' should have beenstripped, and a --enable-kvm option should be added if the returnedexecutable was qemu-system<arch>
Print a meaningful msg if windows shrinking fails
Raise FatalError for guestfs < 1.17.18 in windows
If the media is windows and guestfs version is less than 1.17.18raise a Fatal Error. The versions below this have a bug andinspect_os will fail if the HKLM\SYSTEM\MountedDevices registry keyis missing. This key gets deleted by Microsoft Sysprep
Workaraound the old behaviour of kill_subprocess
Before libguestfs 1.18.4 you cannot shutdown the backend and thenrelaunch it
Add {enable, disable}_guestfs methods in image cls
Fix a typo in a variable name
Don't copy the guestfs handler in the os_type cls
Merge branch 'hotfix-0.4.4' into develop
Conflicts: image_creator/os_type/unix.py image_creator/version.py version
Update ChangeLog and version.py for release 4.4.4
Check if scrubbing is supported
Don't try to scrub data unless the used guestfs appliance supportsit
Ignore the absence pagefile.sys in windows
Fix the sysprep_param interface in expert mode
Group the system preparation tasks to simple and advanced.
Add a function for finding out the kvm binary
On some systems it is kvm, on some others it is qemu-system-x86_64. On32bit PC it is qemu-system-i386
Remove bootable options from image class
It has never been used. If we need it in the future, we will bringit back
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.
Add option for printing the needed sysprep params
Add support for performing sysprep on windows
In windows the do_sysprep method shuts down the guestfs vm and bootsthe image. This allows executing windows commands on the image remotely.
Monitor when the windows VM is up and running
Add the sysprep message printing in the decorator
Since all sysprep functions output a message when they get executed,add the message printing functionality to the sysprep decorator
Add various Windows syspreps
Disable the Windows firewall when the syspreps run
Add new windows sysprep for disabling hibernation
Add kwargs parameter to sysprep decorator
This can be used to add arbitrary attributes to the function itdecorates
Workaround a hivex bug
Reset the LocalAccountTokenFilterPolicy registry key in RunOnce. Thiskey is set by hivex offline when you boot windows, it seems to have awrong value.
Add sysprep in windows to clear the event logs
Make sysprep_info return a named tuple
It used to return a tuple
Add sysprep for shrinking in windows
It is not ready yet.
Add support for shrinking windows VMs
Sleep for 10 secs after you monitor Windows is up
When syspreping a Windows image, sleep for 10 seconds before youcontinue performing the various system preparation tasks.
Add kms_client_setup sysprep for windows images
This sysprep converts the windows image into a KMS client
Use --uninstall in winexe
Mix minor typos
Add a new winexe module
This contains a wrapper class for winexe utility
Monitor VM ps when waiting for windows booting
When waiting for windows to boot, also check that the Windows VMprocess is up.
Add connectivity checks for the windows VM
When booting the windows VM during sysprep, check if winexe worksbefore starting the system preparation tasks
Fix a bug in windows shrink sysprep
Make sure winexe returns error if a diskpart command fails
Don't list disabled users in Windows
Fix _get_users method in windows.py to not list user accounts thatare disabled.
Add decorators defining sysprep params
Fix small bugs and clean up the code
Fix some bugs and some other coding issues found using pylint
Add type field in the SysprepParam namedtuple
This is needed since the input we get from the input dialogs isalways strings.
In windows.py turn some constants to syspep params
Remove constants BOOT_TIMEOUT, SHUTDOWN_TIMEOUT and CONNECTION_RETRIESand add then as sysprep_parameters
Add check_guestfs_version function
This function is used to check if a specified libguestfs version issmaller, greater or equal to the installed one
Always close fds returned by tempfile.mkstemp()
Fix an missing func error introduced in e1c0be0296
Disable UAC remote restrictions in windows
Before launching the windows image with KVM, disable the UAC remoterestrictions. This is needed to make the image allow executingcommand through psexec. After the VM is shut down, the restrictionsare turned back on.
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 basic support for customizing windows images
Add do_sysprep method for windows that shuts down the guestfs backendprocess and starts a new kvm process with the snapshot disk attached toit.
Bump version to 0.4.3next
Bump verstion to 0.4.2next
Merge master into develop
Conflicts: docs/conf.py image_creator/version.py version
Bump version to 0.4.3
Force TERM=linux in snf-mkimage under xterm
Works better this way in OpenSUSE
Bump version to 0.4.2
Fix dialog checklists in OpenSUSE
python-dialog package in OpenSUSE decorated the returned enabledchoices from a dialog checklist with `"'. Remove those characters
Fix a bug in the sysprep help printing
The system preparation tasks could be printed multiple times in thehelp dialog.
Minor typos
Bump version to 0.4.1next
Merge branch 'hotfix-0.4.1' into develop
Bump version to 0.4.1
Add missing _do_collect_metadata method in Windows
Bump development version to 0.4next
Bump version to 0.4
Remove all referencies to words like ~okeanos
In the documentation and the printed messages, remove all referencesto ~okeanos, pithos or cyclades.
Minor cleanup in dialog_wizard