Fix a bug in FixPartitionTable task
Trying to add a logical swap partition after an already existing logicalpartition triggered an error in parted, because between logical partitionsa gap of at least 1 sector needs to be present.
Update ChangeLog and configure for v0.4
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.
Add support for GUID partition tables
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 AddSwap task
This task is used to set up the swap partition previously created byFixPartitionTable task and to add a swap entry in the instances fstabfile.
Remove redundant normalize_unit function
Add swap partition if SWAP property is defined
Fix a bug introduced in b126203ef9946d23a176fc3583
The interface in get_last_partition function in the helpers common.shhas changed but not all needed tasks where updated.
Add support for logical partitions
Now FixPartitionTable task can enlarge logical partitions
Update ChangeLog and configure for version 0.3.6
Update configure.ac and ChangeLogs for v0.3.5
Force automatic updates in windows
Update the windows registry in Unattend.xml to force an automaticWindows Update
Update configure.ac and ChangeLogs for v0.3.4
Fix a bug in DeleteSSHKeys task.
This bug was introduced in commit 88262dba that added pipefail bashoption to all configuration tasks
Update configure.ac and ChangeLogs for v0.3.3
Add a partition table check in FixPartitionTable
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.
Update configure.ac and ChangeLogs for v0.3.2
Update ChangeLogs for v0.3.1
Fix OS detection for SuSE and gentoo
Update date in ChangeLog for v0.3
Handle unknown linux distro situations
When get_distro and get_base_distro do not detect the linux distributiona warning is triggered.
AssignHostname fails if the distribution is not known.
Correct an error msg in FixPartitionTable
Fix Short-Description in FixPartitionTable task
Fix a small typo in an error message.
Update PACKAGE_VERSION in configure.ac to 0.3
Update ChangeLog for 0.3
Explain why helper uses -f (force) in resize2fs
Fix an error introduced in commit b97ada713646ab29
The device argument in tunefs command was erroneously ommited.
Remove fs check before resizing a partition.
Check if the filesystem is clean, and fail if not.
Really minor cleanup
Remove a redundant echo.
Move the task exclusion check away from common.sh
Not all tasks, should be able to be excluded. If MountImage,UnmountImage and InstallUnattanded are never excluded, then the systemdeployment can't break. If you don't want to mount the image or installUnattend.xml then you probably want to use EXCLUDE_ALL_TASKS, since all...
Minor Cleanup in the helper
Fix 2 bugs in FilesystemResizeUnmounted task
Make helper fail is OSFAMILY property is missing
Also did a minor cleanup in AssignHostname task
Change the format of the "exclude task" properties
New format: EXCLUDE_TASK_<task_name>
Do fs check before reseizing ext{2,3,4} partitions
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.
Fix a bug in EnforcePersonality task
The task tried to run inject-files.py even if SNF_IMAGE_PERSONALITYvariable was empty, which led to error.
Make ChangePassword task always respect USERS var
Only the users defined by SNF_IMAGE_PROPERTY_USERS var will have theirpasswords changed by ChangePassword task.
Minor changes in inject-files.py
Make minor modifications to string handling in inject-files.py,also fix some PEP8 errors.
Update ChangeLogs for v0.2
Fix copyright and license notices throughout
Fix a bug in EnforcePersonality
Extend image personalization task
Now injected files may include user defined permition and ownershipinformation.
Change COPYING from BSD-2-clause to GPLv2
Fix Makefile after last filename change
Mouve FilesystemResizeMounted to lower priority
This task needs InstallUnattend
Delete AddDeleteUnattendScript from Makefile.am
This task is deleted from the repository. It's functionality was mergedwith InstallUnattend
Fix a Windows security risk
The password is applied in oobeSystem and RDP is enabled in a previouspass. I Also did a cleanup on the windows tasks.
Disable RDP connection during windows setup
Make exclude task vars comply to property format
The should look like this: SNF_IMAGE_PROPERTY_<TASK_NAME>_TASK
Update ChangeLogs and configure for version 0.2
Fix ROOT_PARTITION property support
Minor fixes in helper's tasks
Fix various bugs in snf-image-helper
Support USERS property in ChangePassword task
Add image-properties support in helper
Use load method instead of loads in inject-files
Add code to make task exclusion possible
Create a bash wrapper for EnforcePersonality.py
All tasks should be bash scripts that source common.sh. We have alsofixed BUG #1577
Add renamed and new tasks in helper's Makefile.am
Add parted as a dependency for helper in configure
Add diskdump support in the helper (part 2)
Add diskdump support in the helper (part 1)
Update ChangeLogs for v0.1.2
Update ChangeLog Files
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 a typo in a var name in ChangePassword task
This has an affect on fedora and ubuntu instances, where user passwordis not changed. Only the root one.
Make helper print warnings for missing sshd_config
DeleteSShKeys task used to fail when /etc/ssh/sshd_config was missing.We decided to relax this constraint and make it create warnings instead.
Fix usage of file as a var in personality task
Fix usage of file as a var name, in personality task,it's a built-in Python identifier.
Update the task info comments in the tasks files
Fix helper's Enforce Personality task
The python code did not compile. File object was not created correct.
Fix helper's delete SSH keys task
Remove .py extension from EnforcePersonality task
run-parts refuses to execute files with extensions.
Fix a Makefile bug introduced in the last commit
Include EnforcePersonality task in Makefile.am
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.
Fix a bug in helper's get_distro function
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.
Fix typos, remove reference to $windows_support
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
Add unattend.xml file in snf-image-helper
Fix a bug in helper's common.sh
It's the same thing fixed in 9aac6898988ab63e7e323d745c41dfb927c51b2fin the host's code
Fix a path in 50ChangePassword script
50ChangePassword was looking in commondir instead of scriptsdir forsnf-passtohash.py
Fix tasks directory existence check
Rename helper to snf-image-helper
Also add Changelog and COPYING info