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
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!
Nikos Skalkotos [Wed, 5 Oct 2011 14:20:58 +0000 (17:20 +0300)]
Add install-mbr in configure's required packages
Nikos Skalkotos [Wed, 5 Oct 2011 13:48:12 +0000 (16:48 +0300)]
Move update-helper script to snf-image-host
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
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
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
Nikos Skalkotos [Tue, 4 Oct 2011 13:26:52 +0000 (16:26 +0300)]
Fix paths in Makefile.am
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.
Nikos Skalkotos [Tue, 4 Oct 2011 09:53:20 +0000 (12:53 +0300)]
Remove "Clean UP executed" echo line.
It's just annoing
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.
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
Nikos Skalkotos [Mon, 3 Oct 2011 16:26:18 +0000 (19:26 +0300)]
Run helper vm as a non-root user
Nikos Skalkotos [Mon, 3 Oct 2011 16:08:47 +0000 (19:08 +0300)]
Add limits on helper VM execution time
Nikos Skalkotos [Mon, 3 Oct 2011 14:35:14 +0000 (17:35 +0300)]
Fix the OSP_IMG_PERSONALITY existence check
Nikos Skalkotos [Mon, 3 Oct 2011 14:08:20 +0000 (17:08 +0300)]
Parse helpers result file
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).
Constantinos Venetsanopoulos [Mon, 3 Oct 2011 14:21:58 +0000 (17:21 +0300)]
Minor fix in 50EnforcePersonality.py
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
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.
Nikos Skalkotos [Mon, 3 Oct 2011 12:50:33 +0000 (15:50 +0300)]
Boot helper wth external kernel
Nikos Skalkotos [Mon, 3 Oct 2011 09:00:06 +0000 (12:00 +0300)]
Make HELPER var overwritable from defaults
Also did a minor cleanup
Nikos Skalkotos [Fri, 30 Sep 2011 14:44:20 +0000 (17:44 +0300)]
Make helper get the instance's device file by host
Nikos Skalkotos [Fri, 30 Sep 2011 11:05:09 +0000 (14:05 +0300)]
Fix the installation-path for snf-passtohash.py
Nikos Skalkotos [Fri, 30 Sep 2011 10:13:46 +0000 (13:13 +0300)]
Add MBR installation command in create
Nikos Skalkotos [Fri, 30 Sep 2011 10:12:02 +0000 (13:12 +0300)]
Add commondir variable to helper's building system
Nikos Skalkotos [Thu, 29 Sep 2011 16:05:41 +0000 (19:05 +0300)]
Fix helpers building System
Nikos Skalkotos [Thu, 29 Sep 2011 13:48:28 +0000 (16:48 +0300)]
Make sure all tasks contail the vim config line
Nikos Skalkotos [Thu, 29 Sep 2011 09:04:24 +0000 (12:04 +0300)]
Fix script errors in helper's tasks
Nikos Skalkotos [Thu, 29 Sep 2011 08:33:57 +0000 (11:33 +0300)]
Export all SNF_IMAGE_* vars in a static way.
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
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.
Nikos Skalkotos [Thu, 29 Sep 2011 08:24:58 +0000 (11:24 +0300)]
Fix error messages in helper's tasks
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
Nikos Skalkotos [Wed, 28 Sep 2011 15:00:17 +0000 (18:00 +0300)]
Change tasks interpreter from /bin/sh to /bin/bash
Nikos Skalkotos [Wed, 28 Sep 2011 14:59:40 +0000 (17:59 +0300)]
Fix a typo bug in helper's rc.local
Nikos Skalkotos [Wed, 28 Sep 2011 14:21:52 +0000 (17:21 +0300)]
Make helper's rc.local executable
Nikos Skalkotos [Wed, 28 Sep 2011 14:20:48 +0000 (17:20 +0300)]
Fix SNF_IMAGE_DEV check in ResizeUnmounted task
Nikos Skalkotos [Wed, 28 Sep 2011 14:11:18 +0000 (17:11 +0300)]
Make helper tasks executable
Nikos Skalkotos [Wed, 28 Sep 2011 14:03:05 +0000 (17:03 +0300)]
Make sure unattend.xml is deleted after setup ends
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
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
Nikos Skalkotos [Wed, 28 Sep 2011 11:58:27 +0000 (14:58 +0300)]
Add defaults file in snf-image
Nikos Skalkotos [Wed, 28 Sep 2011 09:33:21 +0000 (12:33 +0300)]
Fix host building system
Nikos Skalkotos [Wed, 28 Sep 2011 08:53:42 +0000 (11:53 +0300)]
Seperate host and helper build system
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
Nikos Skalkotos [Mon, 26 Sep 2011 20:05:51 +0000 (23:05 +0300)]
Fix helper calling code
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.
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
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
Nikos Skalkotos [Wed, 21 Sep 2011 12:15:53 +0000 (15:15 +0300)]
Initial commit
The project is not workable yet