Statistics
| Branch: | Tag: | Revision:

root / snf-image-helper / tasks @ 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.

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.

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

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

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.

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

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

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

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

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.

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.

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

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

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

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)

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

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)....
61e43304 10/06/2011 03:56 pm Nikos Skalkotos

Add unattend.xml file in snf-image-helper

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

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

Rename helper to snf-image-helper

Also add Changelog and COPYING info