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.
Nikos Skalkotos <skalkoto@grnet.gr>
Constantinos Venetsanopoulos <cven@grnet.gr>
+Vangelis Koukis <vkoukis@grnet.gr>
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
Nikos Skalkotos <skalkoto@grnet.gr>
Constantinos Venetsanopoulos <cven@grnet.gr>
+Vangelis Koukis <vkoukis@grnet.gr>
-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