History | View | Annotate | Download (2.8 kB)
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