From 04591cfa2e91fbf2d125f692c5a06ff677cfb40f Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 21 May 2014 10:05:08 +0200 Subject: [PATCH] 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 --- contrib/fedora/nm-live-vm/run.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/fedora/nm-live-vm/run.sh b/contrib/fedora/nm-live-vm/run.sh index 189650b84f..cd9f7c238a 100755 --- a/contrib/fedora/nm-live-vm/run.sh +++ b/contrib/fedora/nm-live-vm/run.sh @@ -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