Fix default PITHOS_DATA value
Host helper's COW and result file in a tmpfs jail
This way we can restrict the size of the files created by the helper.
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>
Update Makefile.am to include pithcat
Update AUTHORS list
Add Giorgos Verigakis in the AUTHORS list for contributing pithcat.
Merge branch 'pithos-backend'
Clean up code and support pithos-hosted images
License change to match the rest of the project
Add pithcat tool
It connects to a Pithos backend and either fetchesthe data of a file or returns its size.
Refs #1745
Do fs check before reseizing ext{2,3,4} partitions
Remove the ARCH field from the image name
Fix yet another syntax error introduced in 78e9f20
Fix a syntax error introduced in the commit 78e9f
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 host's floppy exported variables
The bug was triggered when a variable contained new lines
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
Remove " from variables hosting program names.
This way the scripts won't fail if someone adds input arguments afterthe program name inside the variable.
Hardcode OSFAMILY img property for {ntfs,ext}dump
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
Abandon wget.
Since curl is needed to find remote file sizes, lets do the wholedownloading with curl.
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
Merge branch 'v0.2-dev'
Minor fixes in helper's tasks
Fix custom images support
Fix various bugs in snf-image-helper
Fix bash syntax error in a case statement
Add initial support for custom images
Support USERS property in ChangePassword task
Add image-properties support in helper
Use load method instead of loads in inject-files
Add parted as a default pkgs in HELPER_EXTRA_PKGS
Remove forgotten -l option in update-helper
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 `img_properties` OS parameter
The img_properties parameter is a json dictionary(json.dumps format) which contains all the necessaryproperties that will be used to customize the new image.
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)
Pass a new (SNF_IMAGE_)ROOT variable to the helper
For {ext,ntfs}dump this is always 1.For diskdump this is an image property
Add diskdump support in create (part 2)
Add diskdump support in create
Beautify common.sh.in
Beautify help msg in update-helper
Also remove `-l' option. It's no longer needed.
Add input options in update-helper script
Update ChangeLogs for v0.1.2
Fix issues #1531 #1532 #1533
Update ChangeLog Files
Add timestamp before & after helper VM's execution
Replace $(var) with ${var} in defaults file.
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.
Fix a dangerous-use-of-xargs bug in create
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.
Add top-level README, point to the snf-image Wiki
Minor fixes to documentation
Fix typos, remove reference to $windows_support
Replace losetup in update-helper with the $LOSETUP
This is really minor, but since we are using a bash var for losetup increate, which is overwritable from the defaults file, lets keep it thatway.
Fix some minor things in defaults file
Fix a var name bug introduced in the last commit
Mass cleanup and some bug fixing
Fix minor typos in update-helper script
Correct the IMAGE_DIR var in the defaults file
Beautify the output of update-helper script
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
Remove filesystem scan enforcement rules in helper
Helper image should never have filesystem checks. The default rule mkfsimplies is to check every 24 mounts or 180 days.