contrib/nm-live-vm: fix run.sh script to into script directory

run.sh refers to the image file via relative path.

Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
Thomas Haller 2014-05-21 10:05:08 +02:00
parent c274725dc3
commit 04591cfa2e

View file

@ -14,6 +14,8 @@ MEMORY=$((3*1024))
mkdir "$SDIR"
cd "$DIR"
if [ "$OS" == "Red Hat Enterprise Linux" ]; then
# qemu-kvm is installed in /usr/libexec on RHEL6
# and redirects its output to VNC server