Statistics
| Branch: | Tag: | Revision:

root @ af4a3462

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

7f6bd8e0 10/03/2011 07:05 pm Nikos Skalkotos

Add result file support in helper

Helper always outputs the result to the second serial port (ttyS1).

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

2f221381 10/03/2011 05:21 pm Constantinos Venetsanopoulos

Minor fix in 50EnforcePersonality.py

8b9d0a95 10/03/2011 05:03 pm Constantinos Venetsanopoulos

Initial commit to support the personality feature

  • Support for file injection functionality
  • Add the img_personality OS parameter
4d0a0a13 10/03/2011 04:02 pm Nikos Skalkotos

Fix a bug in the helper's floppy creation code

Thank you cven.

3b179b45 10/03/2011 03:50 pm Nikos Skalkotos

Boot helper wth external kernel

5484975e 10/03/2011 12:00 pm Nikos Skalkotos

Make HELPER var overwritable from defaults

Also did a minor cleanup
cc4a63ae 09/30/2011 05:44 pm Nikos Skalkotos

Make helper get the instance's device file by host

adab5e0a 09/30/2011 02:05 pm Nikos Skalkotos

Fix the installation-path for snf-passtohash.py

9ca51845 09/30/2011 01:13 pm Nikos Skalkotos

Add MBR installation command in create

c4447efb 09/30/2011 01:12 pm Nikos Skalkotos

Add commondir variable to helper's building system

d46fb573 09/29/2011 07:05 pm Nikos Skalkotos

Fix helpers building System

5d3735b5 09/29/2011 04:48 pm Nikos Skalkotos

Make sure all tasks contail the vim config line

630610f8 09/29/2011 12:04 pm Nikos Skalkotos

Fix script errors in helper's tasks

1bb3e009 09/29/2011 11:33 am Nikos Skalkotos

Export all SNF_IMAGE_* vars in a static way.

b6275d20 09/29/2011 11:29 am Nikos Skalkotos

Write export before every variable in floppy/rules

This way we make sure that the helper's script that sources the rules
file will export those variables

8cd155a3 09/29/2011 11:27 am Nikos Skalkotos

Add PATH to common.sh

Since the helpers scripts run before the login shell, we need to define
the PATH variable ourselfs.

8704ee47 09/29/2011 11:24 am Nikos Skalkotos

Fix error messages in helper's tasks

91af2694 09/28/2011 06:30 pm Nikos Skalkotos

Remove the .sh extention in helper's tasks script

This is causing problems to run-parts

0a35a4ab 09/28/2011 06:00 pm Nikos Skalkotos

Change tasks interpreter from /bin/sh to /bin/bash

c308b9f9 09/28/2011 05:59 pm Nikos Skalkotos

Fix a typo bug in helper's rc.local

43286d79 09/28/2011 05:21 pm Nikos Skalkotos

Make helper's rc.local executable

aaa0b3fd 09/28/2011 05:20 pm Nikos Skalkotos

Fix SNF_IMAGE_DEV check in ResizeUnmounted task

2bcea34f 09/28/2011 05:11 pm Nikos Skalkotos

Make helper tasks executable

64bca686 09/28/2011 05:03 pm Nikos Skalkotos

Make sure unattend.xml is deleted after setup ends

c349d1b3 09/28/2011 04:53 pm Nikos Skalkotos

Add more helper VM tasks

  • Make sure mount & umount are helper vm tasks themself
a93a31ee 09/28/2011 03:01 pm Nikos Skalkotos

Fix bugs in helper code

  • Fix a typo in common.sh
  • Fix mktemp code in rc.local
0e0920ba 09/28/2011 02:58 pm Nikos Skalkotos

Add defaults file in snf-image

0c8625b9 09/28/2011 12:33 pm Nikos Skalkotos

Fix host building system

1e89f48c 09/28/2011 11:53 am Nikos Skalkotos

Seperate host and helper build system

54080484 09/28/2011 10:58 am Nikos Skalkotos

Add initial helper tasks

Use SNF_IMAGE_ as prefix for the floppy exporting variables

fea9eb04 09/26/2011 11:05 pm Nikos Skalkotos

Fix helper calling code

a1d894c5 09/26/2011 03:20 pm Nikos Skalkotos

Add new variable-to-floppy export mechanism

Many bugs have been fixed.

64605956 09/23/2011 12:09 pm Nikos Skalkotos

Create export import rename verify scripts

Those files are required by ganeti-os-interface

e036304a 09/22/2011 09:45 pm Nikos Skalkotos

Create floppy image the helper vm will be using

The project is still not workable yet

f4bd39d8 09/21/2011 03:15 pm Nikos Skalkotos

Initial commit

The project is not workable yet