snf-image
12 years agoAdd further functionality in update-helper script
Nikos Skalkotos [Thu, 6 Oct 2011 08:19:31 +0000 (11:19 +0300)]
Add further functionality in update-helper script

 * Make the script install the snf-image-helper package inside the
   created image.
 * Add more diagnostic messages

12 years agoFix a bug in common.sh
Nikos Skalkotos [Thu, 6 Oct 2011 08:10:05 +0000 (11:10 +0300)]
Fix a bug in common.sh

test returned !0 causing problems to the script!

12 years agoAdd install-mbr in configure's required packages
Nikos Skalkotos [Wed, 5 Oct 2011 14:20:58 +0000 (17:20 +0300)]
Add install-mbr in configure's required packages

12 years agoMove update-helper script to snf-image-host
Nikos Skalkotos [Wed, 5 Oct 2011 13:48:12 +0000 (16:48 +0300)]
Move update-helper script to snf-image-host

12 years agoAdd script to construct a new helper VM image
Nikos Skalkotos [Wed, 5 Oct 2011 13:40:56 +0000 (16:40 +0300)]
Add script to construct a new helper VM image

The scripts runs debootstrap and creates a new disk image

12 years agoRename host to snf-image-host
Constantinos Venetsanopoulos [Wed, 5 Oct 2011 10:49:40 +0000 (13:49 +0300)]
Rename host to snf-image-host

Also add ChangeLog and COPYING info

12 years agoRename helper to snf-image-helper
Constantinos Venetsanopoulos [Wed, 5 Oct 2011 09:17:51 +0000 (12:17 +0300)]
Rename helper to snf-image-helper

Also add Changelog and COPYING info

12 years agoFix paths in Makefile.am
Nikos Skalkotos [Tue, 4 Oct 2011 13:26:52 +0000 (16:26 +0300)]
Fix paths in Makefile.am

12 years agoFix helper's Makefile
Nikos Skalkotos [Tue, 4 Oct 2011 12:48:21 +0000 (15:48 +0300)]
Fix helper's Makefile

 * Change the main script from rc.local to snf-image-helper.
 * Fix some build dirs.

12 years agoRemove "Clean UP executed" echo line.
Nikos Skalkotos [Tue, 4 Oct 2011 09:53:20 +0000 (12:53 +0300)]
Remove "Clean UP executed" echo line.

It's just annoing

12 years agoRemove -root field from the images filename format
Nikos Skalkotos [Tue, 4 Oct 2011 09:48:46 +0000 (12:48 +0300)]
Remove -root field from the images filename format

It is completely redundant. We don't support -boot of any other format.

12 years agoFix bugs in create
Nikos Skalkotos [Tue, 4 Oct 2011 09:38:46 +0000 (12:38 +0300)]
Fix bugs in create

 * Fix kvm guest execution command
 * Remove \r\n from the result file before reading it

12 years agoRun helper vm as a non-root user
Nikos Skalkotos [Mon, 3 Oct 2011 16:26:18 +0000 (19:26 +0300)]
Run helper vm as a non-root user

12 years agoAdd limits on helper VM execution time
Nikos Skalkotos [Mon, 3 Oct 2011 16:08:47 +0000 (19:08 +0300)]
Add limits on helper VM execution time

12 years agoFix the OSP_IMG_PERSONALITY existence check
Nikos Skalkotos [Mon, 3 Oct 2011 14:35:14 +0000 (17:35 +0300)]
Fix the OSP_IMG_PERSONALITY existence check

12 years agoParse helpers result file
Nikos Skalkotos [Mon, 3 Oct 2011 14:08:20 +0000 (17:08 +0300)]
Parse helpers result file

12 years agoAdd result file support in helper
Nikos Skalkotos [Mon, 3 Oct 2011 14:00:01 +0000 (17:00 +0300)]
Add result file support in helper

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

12 years agoMinor fix in 50EnforcePersonality.py
Constantinos Venetsanopoulos [Mon, 3 Oct 2011 14:21:58 +0000 (17:21 +0300)]
Minor fix in 50EnforcePersonality.py

12 years agoInitial commit to support the personality feature
Constantinos Venetsanopoulos [Mon, 3 Oct 2011 14:03:08 +0000 (17:03 +0300)]
Initial commit to support the personality feature

 * Support for file injection functionality
 * Add the img_personality OS parameter

12 years agoFix a bug in the helper's floppy creation code
Nikos Skalkotos [Mon, 3 Oct 2011 13:02:49 +0000 (16:02 +0300)]
Fix a bug in the helper's floppy creation code

Thank you cven.

12 years agoBoot helper wth external kernel
Nikos Skalkotos [Mon, 3 Oct 2011 12:50:33 +0000 (15:50 +0300)]
Boot helper wth external kernel

12 years agoMake HELPER var overwritable from defaults
Nikos Skalkotos [Mon, 3 Oct 2011 09:00:06 +0000 (12:00 +0300)]
Make HELPER var overwritable from defaults

  Also did a minor cleanup

12 years agoMake helper get the instance's device file by host
Nikos Skalkotos [Fri, 30 Sep 2011 14:44:20 +0000 (17:44 +0300)]
Make helper get the instance's device file by host

12 years agoFix the installation-path for snf-passtohash.py
Nikos Skalkotos [Fri, 30 Sep 2011 11:05:09 +0000 (14:05 +0300)]
Fix the installation-path for snf-passtohash.py

12 years agoAdd MBR installation command in create
Nikos Skalkotos [Fri, 30 Sep 2011 10:13:46 +0000 (13:13 +0300)]
Add MBR installation command in create

12 years agoAdd commondir variable to helper's building system
Nikos Skalkotos [Fri, 30 Sep 2011 10:12:02 +0000 (13:12 +0300)]
Add commondir variable to helper's building system

12 years agoFix helpers building System
Nikos Skalkotos [Thu, 29 Sep 2011 16:05:41 +0000 (19:05 +0300)]
Fix helpers building System

12 years agoMake sure all tasks contail the vim config line
Nikos Skalkotos [Thu, 29 Sep 2011 13:48:28 +0000 (16:48 +0300)]
Make sure all tasks contail the vim config line

12 years agoFix script errors in helper's tasks
Nikos Skalkotos [Thu, 29 Sep 2011 09:04:24 +0000 (12:04 +0300)]
Fix script errors in helper's tasks

12 years agoExport all SNF_IMAGE_* vars in a static way.
Nikos Skalkotos [Thu, 29 Sep 2011 08:33:57 +0000 (11:33 +0300)]
Export all SNF_IMAGE_* vars in a static way.

12 years agoWrite export before every variable in floppy/rules
Nikos Skalkotos [Thu, 29 Sep 2011 08:29:23 +0000 (11:29 +0300)]
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

12 years agoAdd PATH to common.sh
Nikos Skalkotos [Thu, 29 Sep 2011 08:27:27 +0000 (11:27 +0300)]
Add PATH to common.sh

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

12 years agoFix error messages in helper's tasks
Nikos Skalkotos [Thu, 29 Sep 2011 08:24:58 +0000 (11:24 +0300)]
Fix error messages in helper's tasks

12 years agoRemove the .sh extention in helper's tasks script
Nikos Skalkotos [Wed, 28 Sep 2011 15:30:15 +0000 (18:30 +0300)]
Remove the .sh extention in helper's tasks script

This is causing problems to run-parts

12 years agoChange tasks interpreter from /bin/sh to /bin/bash
Nikos Skalkotos [Wed, 28 Sep 2011 15:00:17 +0000 (18:00 +0300)]
Change tasks interpreter from /bin/sh to /bin/bash

12 years agoFix a typo bug in helper's rc.local
Nikos Skalkotos [Wed, 28 Sep 2011 14:59:40 +0000 (17:59 +0300)]
Fix a typo bug in helper's rc.local

12 years agoMake helper's rc.local executable
Nikos Skalkotos [Wed, 28 Sep 2011 14:21:52 +0000 (17:21 +0300)]
Make helper's rc.local executable

12 years agoFix SNF_IMAGE_DEV check in ResizeUnmounted task
Nikos Skalkotos [Wed, 28 Sep 2011 14:20:48 +0000 (17:20 +0300)]
Fix SNF_IMAGE_DEV check in ResizeUnmounted task

12 years agoMake helper tasks executable
Nikos Skalkotos [Wed, 28 Sep 2011 14:11:18 +0000 (17:11 +0300)]
Make helper tasks executable

12 years agoMake sure unattend.xml is deleted after setup ends
Nikos Skalkotos [Wed, 28 Sep 2011 14:03:05 +0000 (17:03 +0300)]
Make sure unattend.xml is deleted after setup ends

12 years agoAdd more helper VM tasks
Nikos Skalkotos [Wed, 28 Sep 2011 13:53:20 +0000 (16:53 +0300)]
Add more helper VM tasks

  * Make sure mount & umount are helper vm tasks themself

12 years agoFix bugs in helper code
Nikos Skalkotos [Wed, 28 Sep 2011 12:01:09 +0000 (15:01 +0300)]
Fix bugs in helper code

  * Fix a typo in common.sh
  * Fix mktemp code in rc.local

12 years agoAdd defaults file in snf-image
Nikos Skalkotos [Wed, 28 Sep 2011 11:58:27 +0000 (14:58 +0300)]
Add defaults file in snf-image

12 years agoFix host building system
Nikos Skalkotos [Wed, 28 Sep 2011 09:33:21 +0000 (12:33 +0300)]
Fix host building system

12 years agoSeperate host and helper build system
Nikos Skalkotos [Wed, 28 Sep 2011 08:53:42 +0000 (11:53 +0300)]
Seperate host and helper build system

12 years agoAdd initial helper tasks
Nikos Skalkotos [Wed, 28 Sep 2011 07:58:42 +0000 (10:58 +0300)]
Add initial helper tasks

Use SNF_IMAGE_ as prefix for the floppy exporting variables

12 years agoFix helper calling code
Nikos Skalkotos [Mon, 26 Sep 2011 20:05:51 +0000 (23:05 +0300)]
Fix helper calling code

12 years agoAdd new variable-to-floppy export mechanism
Nikos Skalkotos [Mon, 26 Sep 2011 12:20:29 +0000 (15:20 +0300)]
Add new variable-to-floppy export mechanism

Many bugs have been fixed.

12 years agoCreate export import rename verify scripts
Nikos Skalkotos [Fri, 23 Sep 2011 09:09:14 +0000 (12:09 +0300)]
Create export import rename verify scripts

Those files are required by ganeti-os-interface

12 years agoCreate floppy image the helper vm will be using
Nikos Skalkotos [Thu, 22 Sep 2011 18:45:49 +0000 (21:45 +0300)]
Create floppy image the helper vm will be using

The project is still not workable yet

12 years agoInitial commit
Nikos Skalkotos [Wed, 21 Sep 2011 12:15:53 +0000 (15:15 +0300)]
Initial commit

The project is not workable yet