Statistics
| Branch: | Tag: | Revision:

root / snf-image-helper / common.sh @ 10bf026d

History | View | Annotate | Download (8.8 kB)

# Date Author Comment
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

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

Add support for logical partitions

Now FixPartitionTable task can enlarge logical partitions

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.

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

Fix OS detection for SuSE and gentoo

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.

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.

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

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

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

Fix copyright and license notices throughout

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

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

Minor fixes in helper's tasks

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

Add code to make task exclusion possible

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)

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

Fix a bug in helper's get_distro function

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

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

Rename helper to snf-image-helper

Also add Changelog and COPYING info