Replace obsolete HELPER_IMG variable
authorNikos Skalkotos <skalkoto@grnet.gr>
Thu, 21 Feb 2013 10:34:31 +0000 (12:34 +0200)
committerNikos Skalkotos <skalkoto@grnet.gr>
Thu, 21 Feb 2013 10:34:31 +0000 (12:34 +0200)
Replace HELPER_IMG with HELPER_DIR/image

snf-image-host/kvm-common.sh

index af7f7ca..b3c34ac 100644 (file)
@@ -22,7 +22,7 @@ launch_helper() {
     snapshot=$(mktemp --tmpdir="$jail" helperXXXXXX.img)
     add_cleanup rm "$snapshot"
 
-    "$QEMU_IMG" create -f qcow2 -b "$HELPER_IMG" "$snapshot"
+    "$QEMU_IMG" create -f qcow2 -b "$HELPER_DIR/image" "$snapshot"
 
     report_info "Starting customization VM..."
     echo "$($DATE +%Y:%m:%d-%H:%M:%S.%N) VM START" >&2