Statistics
| Branch: | Tag: | Revision:

root @ 6b16be7c

# Date Author Comment
6b16be7c 12/12/2011 04:25 pm Nikos Skalkotos

Update AUTHORS list

Add Giorgos Verigakis in the AUTHORS list for contributing pithcat.

57af65d4 12/12/2011 04:05 pm Nikos Skalkotos

Merge branch 'pithos-backend'

d71f59e9 12/12/2011 03:34 pm Nikos Skalkotos

Clean up code and support pithos-hosted images

  • Drop "custom" image format type. The same functionality is provided
    by network-hosted images.
  • Images with id that starts with "http:", "https:", "ftp:", "ftps:"
    are considered to be network hosted and are downloaded via cURL....
0d090771 12/12/2011 03:26 pm Giorgos Verigakis

License change to match the rest of the project

fa7285cf 12/09/2011 01:41 pm Giorgos Verigakis

Add pithcat tool

It connects to a Pithos backend and either fetches
the data of a file or returns its size.

Refs #1745

de0cc3e9 12/01/2011 05:07 pm Nikos Skalkotos

Do fs check before reseizing ext{2,3,4} partitions

725a0f88 12/01/2011 05:02 pm Nikos Skalkotos

Remove the ARCH field from the image name

7b8cdc65 11/23/2011 12:36 pm Nikos Skalkotos

Fix yet another syntax error introduced in 78e9f20

baf8926c 11/23/2011 12:07 pm Nikos Skalkotos

Fix a syntax error introduced in the commit 78e9f

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.

cc6e7859 11/22/2011 01:25 pm Nikos Skalkotos

Fix a bug in EnforcePersonality task

The task tried to run inject-files.py even if SNF_IMAGE_PERSONALITY
variable was empty, which led to error.

9912db89 11/21/2011 04:55 pm Nikos Skalkotos

Make ChangePassword task always respect USERS var

Only the users defined by SNF_IMAGE_PROPERTY_USERS var will have their
passwords changed by ChangePassword task.

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