Bump version to 0.4.3next
Merge branch 'master' into develop
Conflicts: image_creator/version.py version
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
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
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...
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