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...
Ommit using os.path.relpath
The method has different behaviour in python 2.6 and python 2.7.In python 2.6, os.path.relpath('/proc', '/) will output '../proc'where in python 2.7 it will output 'proc'.
Support pyparted 3.4
Use length instead of getLength() to get the size in sectors of adevice.
Bump version to 0.2.2
Completely exclude mpoints when running rsync
We used to exclude mount point from rsync with options like this:
--exclude mount/point/*
This will copy the directory and leave out all files under it. Insome cases, this causes problems because rsync will fail if it...
Fix a bug in tmp dir removal
snf-image-creator removed /var/tmp if the directory was empty
Bump version to 0.2.1
Support python-sendfile 2.x
Support both versions (1.2.x and 2.x) of python-sendfile. Inv1.2.x (py-sendfile) the returning value of the sendfile function is atuple, where in v2.x (pysendfile) it's a simple integer.
Fix a variable name typo in output/dialog.py
Bump version to 0.2
Fix bug introdueced in f2ddf4db58fc537e66d60739d2a
Fix minor issues in output messages
Fix the rsync child process wait code
If the process takes too long to finish after the stdout fd isclosed, kill it.
Allow users to specify tmp dir for large files
The cow file when creating images or the temporary image file whenbundling the host system may be large. Allow the user to overwritethe directory under which those files get created.
Treat kamaki config files as sensitive data
When cleaning up sensive user data on unix systems, remove .kamakircand .kamaki.history too.
Truncate the image before fs creation
In rsync make src and dest labels configurable
Merge branch 'stable-0.1'
Fix a bug in image shrinking code pt2
Handle correct extended partitions with id 0xf
Remember the working dir media selection dialog
Minor fixes in output messages
Fix media selection in snf-mkimage
Make sure the user cannot select a directory as input media
Cleanup Rsync class and add extra options
Add options for preserving extended atrributes, hard links, ACLs.
Fix pep8 errors
Fix bugs in rsync module
Retry cleanup commands if they fail
Add a new try_fail_repeat function that wraps cleanup system commandsand retries them if they fail. There are cases where commands likedmsetup, umount and losetup -d may fail with device is busy. In mostof the cases, sleeping for halve a second and retrying does the job.
Make sure the tmp bunble_volume img gets deleted
Remove progress bar for guestfs.launch() progress
In Guestfs you get notifications about progress on some functions likelaunch() by registring callback functions. When using guestfs from python,this is fragile. If the callback functions raises an exception, you end up...
In bundle_volume truncate img file after shrinking
Remove temporary bundeled image during cleanup
In bundle_volume replace UUIDs in new filesystems
Replace the UUID entries in fstab and grub files for filesystems thathave beeen recreated.
Fix a bug in rsync
The exclude patterns should contain relative to the source paths
In bundle volume copy host files with rsync
Fix a bug in image shrinking code
Credits go to Giannis Spiliopoulos <gspilio@admin.grnet.gr>
Create fs in image partitions in bundle_volume
Also do a code cleanup
Fix bugs in bundle_volume module
The partition table of the image is created correct. The partitionsare not yet filled.
Further development in bundle_volume
Nothing is working yet
Fix errors introduced in 9517bf29dadbb4f1257f240bc
Fix the image partitions in bundle_volume
Check the file system usage and accordingly reduce the size of thelast partition in the image.
Fix a pep8 error
Futher development for bundle_volume
Create a sparse file under /mnt in the size of the root hard diskand copy the mbr into this file. Not yet workable.
Bump version to 0.1.1
Add new bundle_volume module
This is not yet workable but it will host the code for creatingimages out of a running system.
Add "Running System" button in media selection
This can be used to create an image out of a live system. Thisfunctionality is not yet implemented.
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.
Revert "Monkey patch the source to work with gevent"
This reverts commit 883e57b07a5cfcb2d0462d67399bfa57bacba846.Drop the greenlet support.
Monkey patch the source to work with gevent
Needed by new kamaki, otherwise it throughs an exception at the end.
Use py-sendfile in favor of pysendfile
The former is older but there are packages for it in distros likeUbuntu.
Fix the import path for kamaki config module
It has changed after the last major revision and was not updated.
Make snf-image-creator compatible with kamaki 0.6
Do not hide the cursor when showing a progress bar
This is a workaround for a progress bar bug, where the system maystay with the cursor hidden if finish() is not called.
Drop pbs dependency in favor of sh
PBS has now bocome sh.
Add the media source in the background title
Handle keaboard interrupts and TERM signals.
Remove the goto(1) empty progress bar workaround
Add progress >= 1.0.2 as install_dependency, since this is the versionthat fixed the empty progress bar problem.
Mount the media ro if --print-sysprep is specified
Update image properties help page
Add SORTORDER image property
Fix missing imports introduced in 023e1217b32385ba
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.
Fix a bug in kamaki menu code
Every time you tried to reupload an image, the dialog displayed thepithos url instead of the image filename as initial value.
Fix fix_acpid syspep
Extend the mechanism to recognise events with value "button/power.*" as power button events. It used to only check for events with value"button[ /]power".
Fix cleanup_userdata sysprep
The function used to ignore directories when cleaning sensitive data
Fix a bug in the kamaki menu
The account info was saved in the token field in .kamakirc
In wizard update the bg title after shrinking
Make the cow file size equal to the original media
The size of the cow file was hardcoded to 1G. This was buggy, becausefor a big image, the resize operation could fill up the cow file andfail.
Fix the wizard confirmation message
Add support for overwriting yes/no button labels
Fix some typos and overwrite the yes/no labels of the wizard/expertmode yesno dialog
Rename CombinedOutput to CompositeOutput
Also move it to a separate module.
Add logging service in snf-image-creator-dialog
Logging can be enabled using the -l input option
Fix minor pep8 error
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.
Do not allow empty USERS metadata fields
If snf-image-creator does not find any passworded user, then theUSERS metadata field is not created at all.
Remove the image size from the image metadata