diff options
author | Thomas Haller <thaller@redhat.com> | 2014-05-21 10:05:08 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-06-30 17:42:09 +0200 |
commit | 04591cfa2e91fbf2d125f692c5a06ff677cfb40f (patch) | |
tree | f61093a3b8b96a3e248b5e86332931f5014af0ed | |
parent | c274725dc3f19dc718db87a8b5a6e04d816d8a65 (diff) | |
download | NetworkManager-04591cfa2e91fbf2d125f692c5a06ff677cfb40f.tar.gz |
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>
-rwxr-xr-x | contrib/fedora/nm-live-vm/run.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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 |