Commit fea9eb04 authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Fix helper calling code

parent a1d894c5
......@@ -85,7 +85,14 @@ snf_export_HOSTNAME=${instance}
create_floppy $floppy
#Invoke the helper vm to do the dirty job...
# Invoke the helper vm to do the dirty job...
syslog=$(mktemp --tmpdir syslog.XXXXXXXX) || exit 1
CLEANUP+=("rm -f $syslog")
result=$(mktemp --tmpdir result.XXXXXXXX) || exit 1
CLEANUP+=("rm -f $result")
#kvm -drive file=snf-image-helper.img,snapshot=on,format=raw,if=virtio,boot=on \
# -boot c -serial stdout -serial $syslog -serial $result -fda $floppy
# Execute cleanups
cleanup
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment