| Branch: | Tag: | Revision:

root @ e0ae744d

# Date Author Comment
e0ae744d 11/08/2011 03:29 pm Nikos Skalkotos

Add parted as a default pkgs in HELPER_EXTRA_PKGS

e16d4331 11/08/2011 11:23 am Constantinos Venetsanopoulos

Add `img_properties` OS parameter

The img_properties parameter is a json dictionary
(json.dumps format) which contains all the necessary
properties that will be used to customize the new image.

6c9a0b2e 11/07/2011 01:21 am Nikos Skalkotos

Add renamed and new tasks in helper's

ccd8f3a0 11/07/2011 12:31 am Nikos Skalkotos

Add parted as a dependency for helper in configure

f6e23601 11/04/2011 05:39 pm Nikos Skalkotos

Add diskdump support in the helper (part 2)

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

Add diskdump support in the helper (part 1)

39822c89 11/03/2011 05:15 pm Nikos Skalkotos

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

3f4f15f3 11/02/2011 04:42 pm Nikos Skalkotos

Add diskdump support in create (part 2)

b206849d 10/31/2011 05:05 pm Nikos Skalkotos

Add diskdump support in create

23996b5d 10/31/2011 05:02 pm Nikos Skalkotos


cfd38847 10/26/2011 05:12 pm Nikos Skalkotos

Beautify help msg in update-helper

Also remove `-l' option. It's no longer needed.

a1aef659 10/26/2011 12:12 pm Nikos Skalkotos

Add input options in update-helper script

edbc7ebf 10/20/2011 12:08 pm Nikos Skalkotos

Update ChangeLogs for v0.1.2

5a31f7ef 10/20/2011 11:31 am Nikos Skalkotos

Fix issues #1531 #1532 #1533

1a38f03a 10/17/2011 01:09 pm Nikos Skalkotos

Update ChangeLog Files

4e11824c 10/17/2011 01:04 pm Nikos Skalkotos

Add timestamp before & after helper VM's execution

6efb24fb 10/17/2011 11:52 am Nikos Skalkotos

Replace $(var) with ${var} in defaults file.

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

Refs #1499

7393e7e4 10/14/2011 11:41 am Nikos Skalkotos

Fix a typo in a var name in ChangePassword task

This has an affect on fedora and ubuntu instances, where user password
is not changed. Only the root one.

456b77f1 10/13/2011 02:15 pm Nikos Skalkotos

Fix a dangerous-use-of-xargs bug in create

01cdf118 10/13/2011 01:37 pm Nikos Skalkotos

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.

315a2975 10/13/2011 12:05 pm Vangelis Koukis

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.

0cf9835d 10/13/2011 07:36 am Nikos Skalkotos

Update the task info comments in the tasks files

85bb9a45 10/13/2011 01:13 am Nikos Skalkotos

Fix helper's Enforce Personality task

The python code did not compile. File object was not created correct.

7f8e28ae 10/12/2011 10:37 pm Nikos Skalkotos

Fix helper's delete SSH keys task

1b27711f 10/12/2011 12:04 pm Nikos Skalkotos

Remove .py extension from EnforcePersonality task

run-parts refuses to execute files with extensions.

26d5ccd9 10/12/2011 11:50 am Nikos Skalkotos

Fix a Makefile bug introduced in the last commit

a9ea3f0f 10/12/2011 11:27 am Nikos Skalkotos

Include EnforcePersonality task in

f93f9fae 10/12/2011 12:35 am Nikos Skalkotos

Fix helper's Enforce Personality task

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.

df8b2f85 10/11/2011 03:31 pm Nikos Skalkotos

Fix a bug in helper's get_distro function

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.

4278b4fa 10/10/2011 05:41 pm Vangelis Koukis

Add top-level README, point to the snf-image Wiki

97532278 10/10/2011 05:04 pm Vangelis Koukis

Minor fixes to documentation

6a95db10 10/10/2011 03:42 pm Vangelis Koukis

Fix typos, remove reference to $windows_support

55d2fc47 10/10/2011 01:41 pm Nikos Skalkotos

Replace losetup in update-helper with the $LOSETUP

This is really minor, but since we are using a bash var for losetup in
create, which is overwritable from the defaults file, lets keep it that

2ce63dc2 10/10/2011 10:57 am Nikos Skalkotos

Fix some minor things in defaults file

9a7af5df 10/10/2011 10:50 am Nikos Skalkotos

Fix a var name bug introduced in the last commit

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
  • Protect all variables from spaces and other special chars
  • Remove extra X's from mktemp template names (only 6 are supported)....
c36351f5 10/07/2011 03:23 pm Nikos Skalkotos

Fix minor typos in update-helper script

152c17de 10/07/2011 01:12 pm Nikos Skalkotos

Correct the IMAGE_DIR var in the defaults file

63d6058d 10/07/2011 12:51 pm Nikos Skalkotos

Beautify the output of update-helper script

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

aac16418 10/06/2011 06:07 pm Nikos Skalkotos

Remove filesystem scan enforcement rules in helper

Helper image should never have filesystem checks. The default rule mkfs
implies is to check every 24 mounts or 180 days.

3b66e07b 10/06/2011 05:52 pm Nikos Skalkotos

Reduce helper's timeout limits

5cbb15b9 10/06/2011 05:49 pm Nikos Skalkotos

Make helper boot from a temporary image snapshot

61e43304 10/06/2011 03:56 pm Nikos Skalkotos

Add unattend.xml file in snf-image-helper

76009480 10/06/2011 03:16 pm Nikos Skalkotos

Fix a bug in helper's

It's the same thing fixed in 9aac6898988ab63e7e323d745c41dfb927c51b2f
in the host's code

c6c35822 10/06/2011 02:35 pm Nikos Skalkotos

Fix a path in 50ChangePassword script

50ChangePassword was looking in commondir instead of scriptsdir for

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

Fix tasks directory existence check

3b0420ce 10/06/2011 12:26 pm Nikos Skalkotos

Make update-helper update the images /etc/rc.local

This is needed in order to make the helpers code autorun

52ac594c 10/06/2011 11:19 am Nikos Skalkotos

Add further functionality in update-helper script

  • Make the script install the snf-image-helper package inside the
    created image.
  • Add more diagnostic messages
9aac6898 10/06/2011 11:10 am Nikos Skalkotos

Fix a bug in

test returned !0 causing problems to the script!

d5f829b8 10/05/2011 05:20 pm Nikos Skalkotos

Add install-mbr in configure's required packages

f1ffe310 10/05/2011 04:48 pm Nikos Skalkotos

Move update-helper script to snf-image-host

d51a95a8 10/05/2011 04:43 pm Nikos Skalkotos

Add script to construct a new helper VM image

The scripts runs debootstrap and creates a new disk image

edf5dd1a 10/05/2011 01:49 pm Constantinos Venetsanopoulos

Rename host to snf-image-host

Also add ChangeLog and COPYING info

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

Rename helper to snf-image-helper

Also add Changelog and COPYING info

80fe7d19 10/04/2011 04:26 pm Nikos Skalkotos

Fix paths in

bf7c33b2 10/04/2011 03:48 pm Nikos Skalkotos

Fix helper's Makefile

  • Change the main script from rc.local to snf-image-helper.
  • Fix some build dirs.
9279d315 10/04/2011 12:53 pm Nikos Skalkotos

Remove "Clean UP executed" echo line.

It's just annoing

bd1178fa 10/04/2011 12:48 pm Nikos Skalkotos

Remove -root field from the images filename format

It is completely redundant. We don't support -boot of any other format.

9e713e52 10/04/2011 12:38 pm Nikos Skalkotos

Fix bugs in create

  • Fix kvm guest execution command
  • Remove \r\n from the result file before reading it
13487fe3 10/03/2011 07:26 pm Nikos Skalkotos

Run helper vm as a non-root user

9999d40d 10/03/2011 07:08 pm Nikos Skalkotos

Add limits on helper VM execution time

7f6bd8e0 10/03/2011 07:05 pm Nikos Skalkotos

Add result file support in helper

Helper always outputs the result to the second serial port (ttyS1).

f25fb7f4 10/03/2011 07:05 pm Nikos Skalkotos

Parse helpers result file

58356445 10/03/2011 07:05 pm Nikos Skalkotos

Fix the OSP_IMG_PERSONALITY existence check

2f221381 10/03/2011 05:21 pm Constantinos Venetsanopoulos

Minor fix in

8b9d0a95 10/03/2011 05:03 pm Constantinos Venetsanopoulos

Initial commit to support the personality feature

  • Support for file injection functionality
  • Add the img_personality OS parameter
4d0a0a13 10/03/2011 04:02 pm Nikos Skalkotos

Fix a bug in the helper's floppy creation code

Thank you cven.

3b179b45 10/03/2011 03:50 pm Nikos Skalkotos

Boot helper wth external kernel

5484975e 10/03/2011 12:00 pm Nikos Skalkotos

Make HELPER var overwritable from defaults

Also did a minor cleanup
cc4a63ae 09/30/2011 05:44 pm Nikos Skalkotos

Make helper get the instance's device file by host

adab5e0a 09/30/2011 02:05 pm Nikos Skalkotos

Fix the installation-path for

9ca51845 09/30/2011 01:13 pm Nikos Skalkotos

Add MBR installation command in create

c4447efb 09/30/2011 01:12 pm Nikos Skalkotos

Add commondir variable to helper's building system

d46fb573 09/29/2011 07:05 pm Nikos Skalkotos

Fix helpers building System

5d3735b5 09/29/2011 04:48 pm Nikos Skalkotos

Make sure all tasks contail the vim config line

630610f8 09/29/2011 12:04 pm Nikos Skalkotos

Fix script errors in helper's tasks

1bb3e009 09/29/2011 11:33 am Nikos Skalkotos

Export all SNF_IMAGE_* vars in a static way.

b6275d20 09/29/2011 11:29 am Nikos Skalkotos

Write export before every variable in floppy/rules

This way we make sure that the helper's script that sources the rules
file will export those variables

8cd155a3 09/29/2011 11:27 am Nikos Skalkotos

Add PATH to

Since the helpers scripts run before the login shell, we need to define
the PATH variable ourselfs.

8704ee47 09/29/2011 11:24 am Nikos Skalkotos

Fix error messages in helper's tasks

91af2694 09/28/2011 06:30 pm Nikos Skalkotos

Remove the .sh extention in helper's tasks script

This is causing problems to run-parts

0a35a4ab 09/28/2011 06:00 pm Nikos Skalkotos

Change tasks interpreter from /bin/sh to /bin/bash

c308b9f9 09/28/2011 05:59 pm Nikos Skalkotos

Fix a typo bug in helper's rc.local

43286d79 09/28/2011 05:21 pm Nikos Skalkotos

Make helper's rc.local executable

aaa0b3fd 09/28/2011 05:20 pm Nikos Skalkotos

Fix SNF_IMAGE_DEV check in ResizeUnmounted task

2bcea34f 09/28/2011 05:11 pm Nikos Skalkotos

Make helper tasks executable

64bca686 09/28/2011 05:03 pm Nikos Skalkotos

Make sure unattend.xml is deleted after setup ends

c349d1b3 09/28/2011 04:53 pm Nikos Skalkotos

Add more helper VM tasks

  • Make sure mount & umount are helper vm tasks themself
a93a31ee 09/28/2011 03:01 pm Nikos Skalkotos

Fix bugs in helper code

  • Fix a typo in
  • Fix mktemp code in rc.local
0e0920ba 09/28/2011 02:58 pm Nikos Skalkotos

Add defaults file in snf-image

0c8625b9 09/28/2011 12:33 pm Nikos Skalkotos

Fix host building system

1e89f48c 09/28/2011 11:53 am Nikos Skalkotos

Seperate host and helper build system

54080484 09/28/2011 10:58 am Nikos Skalkotos

Add initial helper tasks

Use SNF_IMAGE_ as prefix for the floppy exporting variables

fea9eb04 09/26/2011 11:05 pm Nikos Skalkotos

Fix helper calling code

a1d894c5 09/26/2011 03:20 pm Nikos Skalkotos

Add new variable-to-floppy export mechanism

Many bugs have been fixed.