Statistics
| Branch: | Tag: | Revision:

root / snf-image-helper @ 10bf026d

# Date Author Comment
10bf026d 05/23/2012 02:27 pm Nikos Skalkotos

Fix a bug in FixPartitionTable task

Trying to add a logical swap partition after an already existing logical
partition triggered an error in parted, because between logical partitions
a gap of at least 1 sector needs to be present.

5fc02e52 05/17/2012 05:21 pm Nikos Skalkotos

Update ChangeLog and configure for v0.4

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.

822ba661 05/15/2012 04:52 pm Nikos Skalkotos

Add support for GUID partition tables

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

bc9d337a 05/11/2012 05:44 pm Nikos Skalkotos

Add AddSwap task

This task is used to set up the swap partition previously created by
FixPartitionTable task and to add a swap entry in the instances fstab
file.

0d67af87 05/10/2012 05:32 pm Nikos Skalkotos

Remove redundant normalize_unit function

01da0f7d 05/09/2012 07:01 pm Nikos Skalkotos

Add swap partition if SWAP property is defined

2f43ca2e 04/03/2012 05:32 pm Nikos Skalkotos

Fix a bug introduced in b126203ef9946d23a176fc3583

The interface in get_last_partition function in the helpers common.sh
has changed but not all needed tasks where updated.

b126203e 03/30/2012 07:25 pm Nikos Skalkotos

Add support for logical partitions

Now FixPartitionTable task can enlarge logical partitions

1a16b855 03/29/2012 06:43 pm Nikos Skalkotos

Update ChangeLog and configure for version 0.3.6

5a023838 03/26/2012 08:17 pm Nikos Skalkotos

Update configure.ac and ChangeLogs for v0.3.5

77842800 03/26/2012 08:07 pm Nikos Skalkotos

Force automatic updates in windows

Update the windows registry in Unattend.xml to force an automatic
Windows Update

06757f5e 03/05/2012 06:02 pm Nikos Skalkotos

Update configure.ac and ChangeLogs for v0.3.4

fe816d8b 03/05/2012 05:39 pm Nikos Skalkotos

Fix a bug in DeleteSSHKeys task.

This bug was introduced in commit 88262dba that added pipefail bash
option to all configuration tasks

fb391215 02/29/2012 10:54 am Nikos Skalkotos

Update configure.ac and ChangeLogs for v0.3.3

eb8e3364 02/14/2012 03:53 pm Nikos Skalkotos

Add a partition table check in FixPartitionTable

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.

44b1d96f 02/06/2012 11:51 am Nikos Skalkotos

Update configure.ac and ChangeLogs for v0.3.2

4f25a20d 01/26/2012 12:20 pm Nikos Skalkotos

Update ChangeLogs for v0.3.1

b5294d61 01/24/2012 03:56 pm Nikos Skalkotos

Fix OS detection for SuSE and gentoo

582c1223 01/12/2012 01:06 pm Nikos Skalkotos

Update date in ChangeLog for v0.3

2755bb06 01/11/2012 01:05 pm Nikos Skalkotos

Handle unknown linux distro situations

When get_distro and get_base_distro do not detect the linux distribution
a warning is triggered.

AssignHostname fails if the distribution is not known.

7bdd3ab7 01/04/2012 05:20 pm Nikos Skalkotos

Correct an error msg in FixPartitionTable

cb93c144 01/04/2012 11:38 am Nikos Skalkotos

Fix Short-Description in FixPartitionTable task

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

Fix a small typo in an error message.

a27e4ee4 12/17/2011 08:18 pm Nikos Skalkotos

Update PACKAGE_VERSION in configure.ac to 0.3

379a77c5 12/15/2011 06:45 pm Nikos Skalkotos

Update ChangeLog for 0.3

040950bc 12/15/2011 06:40 pm Nikos Skalkotos

Explain why helper uses -f (force) in resize2fs

e8978a38 12/14/2011 05:26 pm Nikos Skalkotos

Fix an error introduced in commit b97ada713646ab29

The device argument in tunefs command was erroneously ommited.

b97ada71 12/14/2011 04:17 pm Nikos Skalkotos

Remove fs check before resizing a partition.

Check if the filesystem is clean, and fail if not.

a2c82a06 12/14/2011 03:39 pm Nikos Skalkotos

Really minor cleanup

Remove a redundant echo.

2a0c492d 12/13/2011 01:52 pm Nikos Skalkotos

Move the task exclusion check away from common.sh

Not all tasks, should be able to be excluded. If MountImage,
UnmountImage and InstallUnattanded are never excluded, then the system
deployment can't break. If you don't want to mount the image or install
Unattend.xml then you probably want to use EXCLUDE_ALL_TASKS, since all...

11994c76 12/13/2011 12:08 pm Nikos Skalkotos

Minor Cleanup in the helper

541a0d7d 12/12/2011 07:39 pm Nikos Skalkotos

Fix 2 bugs in FilesystemResizeUnmounted task

  • Add -y option to e2fsck, otherwise the program complaines for not
    running in an interactive shell
  • Fix a typo in a variable
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

7ee2a43d 12/12/2011 04:55 pm Nikos Skalkotos

Change the format of the "exclude task" properties

New format: EXCLUDE_TASK_<task_name>

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

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

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

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

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

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

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

Minor fixes in helper's tasks

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

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

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)

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

Update ChangeLogs for v0.1.2

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

Update ChangeLog Files

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.

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.

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

Fix typos, remove reference to $windows_support

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

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

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

Rename helper to snf-image-helper

Also add Changelog and COPYING info