Monitor VM ps when waiting for windows booting
When waiting for windows to boot, also check that the Windows VMprocess is up.
Add a new winexe module
This contains a wrapper class for winexe utility
Mix minor typos
Use --uninstall in winexe
Add kms_client_setup sysprep for windows images
This sysprep converts the windows image into a KMS client
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 support for shrinking windows VMs
Add sysprep for shrinking in windows
It is not ready yet.
Make sysprep_info return a named tuple
It used to return a tuple
Add sysprep in windows to clear the event logs
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 kwargs parameter to sysprep decorator
This can be used to add arbitrary attributes to the function itdecorates
Add new windows sysprep for disabling hibernation
Disable the Windows firewall when the syspreps run
Add various Windows syspreps
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
Monitor when the windows VM is up and running
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.
Add option for printing the needed sysprep params
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.
Remove bootable options from image class
It has never been used. If we need it in the future, we will bringit back
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.
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
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.
Merge branch 'develop' into feature-windows-support
Bump version to 0.4.1next
Merge branch 'hotfix-0.4.1' into develop
Conflicts: image_creator/version.py version
Add missing _do_collect_metadata method in Windows
Fix an missing func error introduced in e1c0be0296
Always close fds returned by tempfile.mkstemp()
Add check_guestfs_version function
This function is used to check if a specified libguestfs version issmaller, greater or equal to the installed one
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
Create a new cloud wizard page
Make the cloud selection wizard page an instance of WizardMenuPage
Change the metadata file format to json
When registring an image, use the information returned by thekamaki register method to construct the metadata file.
When dumping the image to the local filesystem, store the imageproperties and the disk-format info in the metadata file.
Add --cloud option in snf-image-creator
This options can be used to get the authentication URL and tokenfrom a saved cloud section in the kamaki configuration file
Comply with kamaki 0.9
Monkey-patch pythondialog to support form boxes
Code Cleanup
Move mount/umount from image to os_type module
Bump version to 0.3next
Merge branch 'master' into develop
Make use of devflow building system
Populate the USERS metadata for windows images
For windows images check the appropriate registry keys to find outthe system users
Bump version to 0.3
Share the md5sum and meta file if image is public
If the image gets registered as public allow anyone to read themetadata and the md5sum file.
Check if remote files exist before uploading
Before uploading to pithos, check if any remote file getsoverwritten.
In cleanup_mail sysprep check if mail dirs exist
Check if /var/spool/mail exists before trying to remove the contentof the directory.
Monitor executed syspreps in os_type/__init__.py
Syspreps that have already been executed shouldn't get returned bylist_syspreps
Fix an some error messages in snf-image-creator
Add cleanup_password sysprep for freebsd
Copy OSFAMILY to OS property if distro is unknown
If libguestfs's inspect_get_distro returns "unknown", then use theOSFAMILY image property value as OS value.
Beautify FreeBSD description returned by guestfs
Minor warning message change
Monitor passworded users in FreeBSD
In cleanup_userdata sysprep check if /home exists
Fix minor pep8 errors
Use OS as img name in wizard if distro is unknown
Don't execute syspreps if the fs is not mounted rw
Check if the filesystem is mounted read-write before you executethe do_sysprep function
Support mounting freebsd ufs filesystems
UFS2 filesystems don't get automatically detected by the linuxkernel. We need to explicitly state the correct filesystem typeand options
Bump version to 0.2.10
Add acl & user_xattr mount options if needed
In bundling host make sure that the default mount options are enabledin the newly created file system.
Bump version to 0.2.9
Support kamaki 0.8
In kamaki 0.8 `store' command is replaced with `file' and `astakos' isreplaced with `user'.
Handle better images with distro="unknown"
If the ostype returned by libguestfs is valid and distro in unknown,don't print the distro at all.
Move linux specific code from unix.py to linux.py
Fix 2 obsolete comments
Fix typo in sh.CommandNotFound exception
Bump version to 0.2.8
Change a ValueError exception to FatalError
Add missing docstrings
Rename DiskDevice class to Image
Rename DiskDevice class to Image and move it to a seperate module.Also, don't let the user access the os_type/* modules directly. InImage class create the `os' member variable that will host anappropriate instance of one of the OSBase classes.
Clean-up the code using flake8
Fix an undefined variable bug
Variable d in function valideate_account was undefined
Bump version to 0.2.7
Fix a bug in the way rsync copies files
The exclude patterns were wrong and they excluded more files thanthey should.
Don't check the token if -t is not defined
Fix syntax errors
Bump version to 0.2.6
Fix a bug in bundle host
In the bundled image /tmp and /var/tmp file mode bits ended up beingwrong.
Bump version to 0.2.5
In the main menu add action for the help button
Display the online documentation url
Minor code and messages cleanup
Fix a bug in wizard introduced in 37d581b868919aae
Display gathered info in wizard's confirmation box
Support private images
Support images that can only be deployed by the user that registersthe image to cyclades
Fix minor typos
Use only the token to authenticate to synnefo
You don't need the account name. You can fetch it from astakos usingthe authentication token.
Fix small typo
Fix some typos in configuration_tasks help file
Credits go to Konstantinos Tompoulidis <kostikas@grnet.gr>
Bump version to 0.2.4
Use user id to authenticate with synnefo
Latest versions of synnefo require user id instead of e-mail toauthenticate.
Enforce raw img format in libguestfs
Don't let libguestfs guess the format of the provided image. Enforceit to treat the image as raw.
Bump version to 0.2.3
In bundle_volume keep partition starting points
When shrinking partitions, make sure that the shrinked partitionsalways starts from the sector the initial partition started. Changingthis may destroy the boot loader.
In bundle_volume print msg when cloning partitions
Add support for gpt partitions in bundle_volume
Don't call parted.Device.destroy()
It behaves different in different pyparted versions and only causesproblems. Let python do the garbage-collection...