Statistics
| Branch: | Tag: | Revision:

root / snf-image-helper / snf-image-helper.in @ bc9d337a

History | View | Annotate | Download (2.8 kB)

# Date Author Comment
01da0f7d 05/09/2012 07:01 pm Nikos Skalkotos

Add swap partition if SWAP property is defined

88262dba 02/13/2012 08:14 pm Nikos Skalkotos

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.

b2635f72 12/19/2011 06:28 pm Nikos Skalkotos

Fix a small typo in an error message.

c334f836 12/12/2011 06:43 pm Nikos Skalkotos

Make helper fail is OSFAMILY property is missing

Also did a minor cleanup in AssignHostname task

78e9f209 11/22/2011 06:05 pm Nikos Skalkotos

Make image properties optional

Image properties should be an optional argument. In any other case
snf-image does not retail backward compatibility.

3709b5f4 11/22/2011 03:24 pm Nikos Skalkotos

Fix license and copyright

Some files were accidentally left out from the last license and
copyright fix.

e50c4112 11/11/2011 05:38 pm Nikos Skalkotos

Make exclude task vars comply to property format

The should look like this: SNF_IMAGE_PROPERTY_<TASK_NAME>_TASK

27acc2e4 11/11/2011 03:33 pm Nikos Skalkotos

Fix ROOT_PARTITION property support

38552c68 11/10/2011 06:58 pm Nikos Skalkotos

Fix various bugs in snf-image-helper

  • In decode-properties.py, use subprocess.Popen method instead of
    subprocess.check_output, which is introduced in python 2.7
  • Fix a bug in snf-image-helper where decode-properties.py was not
    properly called
  • Fix a bug in FixPartitionTable task
473f4fa5 11/09/2011 03:50 pm Nikos Skalkotos

Add image-properties support in helper

e7cbe965 11/08/2011 03:29 pm Nikos Skalkotos

Add code to make task exclusion possible

42f09a19 11/03/2011 06:23 pm Nikos Skalkotos

Add diskdump support in the helper (part 1)

cc9de6c0 10/17/2011 11:37 am Vangelis Koukis

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 to
complete.

Refs #1499

af4a3462 10/11/2011 10:52 pm Vangelis Koukis

Fix minor bugs, update AUTHORS

Make sure snf-image-host passes the magic argument
in the kernel command line of the helper VM to activate snf-image-helper,
update AUTHORS.

ff7783b8 10/10/2011 06:17 pm Vangelis Koukis

Avoid activating snf-image-helper by mistake

Only activate the snf-image-helper automatically if the caller
has 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.

bad5ca1f 10/10/2011 09:43 am Nikos Skalkotos

Mass cleanup and some bug fixing

  • Make all "local" variables lowercase.
  • Move HELPER_EXTRA_PKGS from snf-image-update-helper to common.sh
  • Protect all variables from spaces and other special chars
  • Remove extra X's from mktemp template names (only 6 are supported)....
cb6b4f68 10/07/2011 11:46 am Nikos Skalkotos

Disable the umount trap if run-parts returns 0

0468a748 10/07/2011 11:40 am Nikos Skalkotos

Make helper try to umount $target on errors

Since the mount and umount commands are tasks, if a task fails, the
filesystem may have been left mounted. For this case, I've created a
trap that tries to umount the filesystem

27b1de98 10/06/2011 01:10 pm Nikos Skalkotos

Fix tasks directory existence check

aa4fc6bb 10/05/2011 01:45 pm Constantinos Venetsanopoulos

Rename helper to snf-image-helper

Also add Changelog and COPYING info