History | View | Annotate | Download (3.9 kB)
Add partial support for NetBSD and OpenBSD
Resizing NetBSD and OpenBSD partitions, as well as FFS filesystemsdoes not work for now
helper: Fix a bug triggered by corrupted images
Fix a bug in get_partition_to_resize where the script would not stopif the get_partition_table function failed, leading to bash syntaxerrors.
Add support for FreeBSD
File injection isn't implemented yet
Remove hardcoded FLOPPY_DEV in helper
Check the cmdline of the kernel to determine what device to checkfor find the rules file
In xen use the helper image in ro mode
Make sure everything works even when the root filesystem in the helperVM is mounted read-only.
Merge branch 'master' into xen
Conflicts: snf-image-helper/common.sh snf-image-host/Makefile.am snf-image-host/common.sh.in snf-image-host/create snf-image-host/defaults
Cleanup Xen code
Make it comply with the rest of the software. Some things are notready yet.
Mount all local filesystems when deploying images
If the image has /home on a different partition than /, thenwe'll need to have it mounted to inject files on a user's homedirectory.
Fix helper's error monitoring system
Fix a bug where errors that where not created using log_error wherenot registered to the monitoring subsystem.
Check if the img_properties are decoded correct
In image helper, check if decode-properties.py returned 0 and logthe error if this is not the case.
Fix the error messages in helper
Make use of XenStore to export SUCCESS msg
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Add back the snf_image_activate_helper check
Remove the boot and shutdown process in helper VM
Make snf-image-helper ran as init process when calling the helperVM. Also make the helper VM shut down quickly by using the shut offSysRq.
Use UTC when calling date command
Add mechanism for using a custom unattend.xml
snf-image-helper by default uses it's own version of unattend.xml file,but if UNATTEND variable is specified then it will use the one providedby snf-image-host.
Fix a bug introduced in 01da0f7d58e0bf30f06755d802
Fix a bug where the partition that should be resized in some caseswas computed in a wrong way
Add swap partition if SWAP property is defined
Add pipefail option in helpers common.sh library
This is needed because common.sh contains functions that use pipes,and the script should fail if any command fails.
Fix a small typo in an error message.
Make helper fail is OSFAMILY property is missing
Also did a minor cleanup in AssignHostname task
Make image properties optional
Image properties should be an optional argument. In any other casesnf-image does not retail backward compatibility.
Fix license and copyright
Some files were accidentally left out from the last license andcopyright fix.
Make exclude task vars comply to property format
The should look like this: SNF_IMAGE_PROPERTY_<TASK_NAME>_TASK
Fix ROOT_PARTITION property support
Fix various bugs in snf-image-helper
Add image-properties support in helper
Add code to make task exclusion possible
Add diskdump support in the helper (part 1)
Add timestamps in output of run-parts hooks
Prepend a timestamp before every line of output of run-parts hooks,needed as a quick-n-dirty way to estimate the time taken by each hook tocomplete.
Refs #1499
Fix minor bugs, update AUTHORS
Make sure snf-image-host passes the magic argumentin the kernel command line of the helper VM to activate snf-image-helper,update AUTHORS.
Avoid activating snf-image-helper by mistake
Only activate the snf-image-helper automatically if the callerhas passed a magic argument in the kernel command line.
Require a '--force' argument to activate snf-image-helper,to avoid accidental execution of the script.
Mass cleanup and some bug fixing
Disable the umount trap if run-parts returns 0
Make helper try to umount $target on errors
Since the mount and umount commands are tasks, if a task fails, thefilesystem may have been left mounted. For this case, I've created atrap that tries to umount the filesystem
Fix tasks directory existence check
Rename helper to snf-image-helper
Also add Changelog and COPYING info