Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (3.9 kB)

# Date Author Comment
84d01e3e 10/29/2013 03:32 pm Nikos Skalkotos

Add partial support for NetBSD and OpenBSD

Resizing NetBSD and OpenBSD partitions, as well as FFS filesystems
does not work for now

3bb66fac 10/18/2013 11:03 am Nikos Skalkotos

helper: Fix a bug triggered by corrupted images

Fix a bug in get_partition_to_resize where the script would not stop
if the get_partition_table function failed, leading to bash syntax
errors.

b1cb73f2 04/18/2013 05:36 pm Nikos Skalkotos

Add support for FreeBSD

File injection isn't implemented yet

e777f9d5 02/08/2013 06:37 pm Nikos Skalkotos

Remove hardcoded FLOPPY_DEV in helper

Check the cmdline of the kernel to determine what device to check
for find the rules file

107e56e0 02/08/2013 06:31 pm Nikos Skalkotos

In xen use the helper image in ro mode

Make sure everything works even when the root filesystem in the helper
VM is mounted read-only.

f7a4021c 02/07/2013 06:04 pm Nikos Skalkotos

Merge branch 'master' into xen

Conflicts:
snf-image-helper/common.sh
snf-image-host/Makefile.am
snf-image-host/common.sh.in
snf-image-host/create
snf-image-host/defaults

fcae4e91 02/07/2013 12:11 pm Nikos Skalkotos

Cleanup Xen code

Make it comply with the rest of the software. Some things are not
ready yet.

e2510438 01/07/2013 08:09 pm Nikos Skalkotos

Mount all local filesystems when deploying images

If the image has /home on a different partition than /, then
we'll need to have it mounted to inject files on a user's home
directory.

b3aefbbc 12/16/2012 12:07 am Nikos Skalkotos

Fix helper's error monitoring system

Fix a bug where errors that where not created using log_error where
not registered to the monitoring subsystem.

4f7c2aeb 11/13/2012 03:16 pm Nikos Skalkotos

Check if the img_properties are decoded correct

In image helper, check if decode-properties.py returned 0 and log
the error if this is not the case.

90db2151 11/13/2012 03:16 pm Nikos Skalkotos

Fix the error messages in helper

e9413eab 09/28/2012 09:41 pm Dimitris Aragiorgis

Make use of XenStore to export SUCCESS msg

Signed-off-by: Dimitris Aragiorgis <>

fa0ee03b 09/26/2012 04:40 pm Nikos Skalkotos

Add back the snf_image_activate_helper check

b2bffe91 09/26/2012 03:05 pm Nikos Skalkotos

Remove the boot and shutdown process in helper VM

Make snf-image-helper ran as init process when calling the helper
VM. Also make the helper VM shut down quickly by using the shut off
SysRq.

603c05f7 09/24/2012 12:05 pm Nikos Skalkotos

Use UTC when calling date command

8689d50f 05/17/2012 03:31 pm Nikos Skalkotos

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 provided
by snf-image-host.

8576747b 05/15/2012 01:09 pm Nikos Skalkotos

Fix a bug introduced in 01da0f7d58e0bf30f06755d802

Fix a bug where the partition that should be resized in some cases
was computed in a wrong way

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