History | View | Annotate | Download (16.2 kB)
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 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.
Comply with kamaki 0.9
Code Cleanup
Move mount/umount from image to os_type module
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.
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
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
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
Use only the token to authenticate to synnefo
You don't need the account name. You can fetch it from astakos usingthe authentication token.
Use user id to authenticate with synnefo
Latest versions of synnefo require user id instead of e-mail toauthenticate.
Minor fixes in output messages
Fix a bug in dialog wizard
The program would crash when running in wizard mode if the accountor token where missing from the .kamakirc file.
Code cleanup and refactoring
Create a new dialog_menu module to host all the "expert mode" code.Check the code with a new version of pep8
Fix various typos, add .gitignore file
Fix various typos in messages, add .gitignore file forautomatically produced intermediate files.
In wizard update the bg title after shrinking
Fix the wizard confirmation message
Add logging service in snf-image-creator-dialog
Logging can be enabled using the -l input option
When in wizard mode, allow local image dumping
After the image has been uploaded to pithos and registered to cyclades,prompt the user about saving the uploaded image locally.
Implement a WizardExit exception in dialog_wizard
This exception can be used by the WizardPage instances to exit thewizard.
Use the description field inputed in the wizard
Make the ImageDescription field of the dialog wizard overwrite theDESCRIPTION image property.
Add a new clear method in the Output class
In the cli output classes this method will clear terminal screen ifthe standard output is a terminal.
Remove the image size from the image metadata
Make the dialog wizard workable
A user can now create and upload an image using the wizard
Add all wizard dialog boxes.
The system does not perform anything yet when in wizard mode.
Move wizard code out of dialog_main.py
Create the new python module to host the aforementioned code.