History | View | Annotate | Download (4.5 kB)
Fix a function name typo in AssignHostname task
Add partial support for NetBSD and OpenBSD
Resizing NetBSD and OpenBSD partitions, as well as FFS filesystemsdoes not work for now
Add support for FreeBSD
File injection isn't implemented yet
Fix AssignHostname task for arch linux
If both /etc/rc.conf and /etc/hostname are missing, create the latterto host the hostname.
Check for /etc/hostname in AssignHostname task
By default without investigating the distro of the guest VM, checkfor the presence of /etc/hostname file. This is the default placefor static host names in systems that use the systemd startup deamon.
Code cleanup
Make sure local variables are defined as local before they get assigned.Having variables get defined and assigned in one line like this:
local var=foo
can sometimes cause problems. For example, this line:
local var=$(false)
will return 0 and the script will not fail if set -x is defined.
Fix a bug introduced in 9fca5245a2eae67af86719bb0f
AssignHostname task did not search for Unattend.xml in a caseinsensitive way.
Make sure EnforcePersonality runs last
When a users inject a file in an image that already exists,we want to make sure that this file is not altered by any other task.So, the EnforcePersonality task, is the last task that should runbefore the image is unmounted.
In archlinux make use of /etc/hostname if present
Newer arch linux systems use this file to assign a hostname. If thefile is present and not empty, then use it.
Add support for archlinux
cleanup! cleanup! cleanup! cleanup!
Add start-task and finish-task events
This commit extendes the monitoring mechanism to include events fromsnf-image-helper.
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.
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...
Make helper fail is OSFAMILY property is missing
Also did a minor cleanup in AssignHostname task
Fix copyright and license notices throughout
Minor fixes in helper's tasks
Add image-properties support in helper
Add diskdump support in the helper (part 2)
Update the task info comments in the tasks files
Fix typos, remove reference to $windows_support
Mass cleanup and some bug fixing
Rename helper to snf-image-helper
Also add Changelog and COPYING info