Fix minor bugs, update AUTHORS
authorVangelis Koukis <vkoukis@grnet.gr>
Tue, 11 Oct 2011 19:51:20 +0000 (22:51 +0300)
committerVangelis Koukis <vkoukis@grnet.gr>
Tue, 11 Oct 2011 19:52:39 +0000 (22:52 +0300)
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.

snf-image-helper/AUTHORS
snf-image-helper/snf-image-helper.in
snf-image-host/AUTHORS
snf-image-host/create

index 8acc940..4c647d8 100644 (file)
@@ -1,2 +1,3 @@
 Nikos Skalkotos <skalkoto@grnet.gr>
 Constantinos Venetsanopoulos <cven@grnet.gr>
+Vangelis Koukis <vkoukis@grnet.gr>
index 45571d7..4e6ea31 100644 (file)
@@ -35,8 +35,8 @@ set -e
 set -o pipefail
 
 if [ "x$1" != "x--force" ]; then
-    log_error "WARNING: This will cause the system to halt."
-    log_error "Use --force if you know what you're doing."
+    echo "WARNING: Exiting, this command would cause the system to halt." >&2
+    echo "Use --force if you know what you're doing." >&2
     exit 1
 fi
 
index 8acc940..4c647d8 100644 (file)
@@ -1,2 +1,3 @@
 Nikos Skalkotos <skalkoto@grnet.gr>
 Constantinos Venetsanopoulos <cven@grnet.gr>
+Vangelis Koukis <vkoukis@grnet.gr>
index 7cc1c0b..b9bbdb0 100755 (executable)
@@ -108,7 +108,7 @@ add_cleanup rm "$snapshot"
     -boot c -serial stdio -serial file:"$result_file" \
     -fda "$floppy" -vga none -nographic -parallel none -monitor null \
     -kernel "$HELPER_KERNEL" -initrd "$HELPER_INITRD" \
-    -append "quiet ro root=/dev/sda1 console=ttyS0,9600n8" \
+    -append "quiet ro root=/dev/sda1 console=ttyS0,9600n8 snf_image_activate_helper" \
     2>&1 | sed 's|^|HELPER: |g'
 
 if [ $? -ne 0 ]; then