Statistics
| Branch: | Tag: | Revision:

root @ 2091e53b

# Date Author Comment
2091e53b 11/21/2011 12:54 pm Vangelis Koukis

Add snf-image-{host,helper}/debian directories

Add snf-image-{host,helper}/debian directories for Debian packaging.

d984217b 11/18/2011 04:38 pm Vangelis Koukis

Minor changes in inject-files.py

Make minor modifications to string handling in inject-files.py,
also fix some PEP8 errors.

302cbc2b 11/18/2011 04:11 pm Nikos Skalkotos

Update ChangeLogs for v0.2

7e5d635b 11/18/2011 03:48 pm Nikos Skalkotos

Fix copyright and license notices throughout

66840d7a 11/18/2011 02:54 pm Nikos Skalkotos

Fix a bug in host's floppy exported variables

The bug was triggered when a variable contained new lines

6d789991 11/18/2011 02:03 pm Nikos Skalkotos

Fix a bug in EnforcePersonality

c03b6c45 11/18/2011 11:52 am Nikos Skalkotos

Extend image personalization task

Now injected files may include user defined permition and ownership
information.

b873aac3 11/17/2011 06:02 pm Constantinos Venetsanopoulos

Change COPYING from BSD-2-clause to GPLv2

02485c69 11/16/2011 04:32 pm Nikos Skalkotos

Remove " from variables hosting program names.

This way the scripts won't fail if someone adds input arguments after
the program name inside the variable.

b635b72c 11/16/2011 04:15 pm Nikos Skalkotos

Hardcode OSFAMILY img property for {ntfs,ext}dump

5e8ed5da 11/16/2011 03:49 pm Nikos Skalkotos

Fix Makefile after last filename change

ce222bd6 11/16/2011 03:47 pm Nikos Skalkotos

Mouve FilesystemResizeMounted to lower priority

This task needs InstallUnattend

0681db7a 11/16/2011 03:20 pm Nikos Skalkotos

Delete AddDeleteUnattendScript from Makefile.am

This task is deleted from the repository. It's functionality was merged
with InstallUnattend

6196f457 11/16/2011 02:40 pm Nikos Skalkotos

Fix a Windows security risk

The password is applied in oobeSystem and RDP is enabled in a previous
pass. I Also did a cleanup on the windows tasks.

ec728294 11/15/2011 05:07 pm Nikos Skalkotos

Disable RDP connection during windows setup

cb489189 11/11/2011 06:23 pm Nikos Skalkotos

Abandon wget.

Since curl is needed to find remote file sizes, lets do the whole
downloading with curl.

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

7a72942e 11/11/2011 04:02 pm Nikos Skalkotos

Update ChangeLogs and configure for version 0.2

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

Fix ROOT_PARTITION property support

09ac08db 11/11/2011 01:59 pm Nikos Skalkotos

Merge branch 'v0.2-dev'

de7269cd 11/11/2011 01:04 pm Nikos Skalkotos

Minor fixes in helper's tasks

14de44dc 11/11/2011 11:06 am Nikos Skalkotos

Fix custom images support

  • Add code to compute the remote filesize
  • Check for wget and curl in the configuration phase
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
7a474322 11/10/2011 04:58 pm Nikos Skalkotos

Fix bash syntax error in a case statement

db0078b9 11/09/2011 05:07 pm Nikos Skalkotos

Add initial support for custom images

f884ffac 11/09/2011 04:57 pm Nikos Skalkotos

Support USERS property in ChangePassword task

473f4fa5 11/09/2011 03:50 pm Nikos Skalkotos

Add image-properties support in helper

2545cdc5 11/09/2011 11:53 am Nikos Skalkotos

Use load method instead of loads in inject-files

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

Add parted as a default pkgs in HELPER_EXTRA_PKGS

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

Remove forgotten -l option in update-helper

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

Add code to make task exclusion possible

22a2e378 11/08/2011 03:29 pm Nikos Skalkotos

Create a bash wrapper for EnforcePersonality.py

All tasks should be bash scripts that source common.sh. We have also
fixed BUG #1577

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 Makefile.am

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

d0362bb3 10/31/2011 05:03 pm Nikos Skalkotos

Beautify common.sh.in

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

Beautify common.sh.in

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

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 Makefile.am

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
way.

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 common.sh
  • 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 common.sh

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
snf-passtohash.py

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 common.sh

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 Makefile.am

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

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