Harald Hoyer 65a3b7
From 778f767bccf14f49573d5fffca40841f42401e75 Mon Sep 17 00:00:00 2001
Harald Hoyer 65a3b7
From: Jan Stodola <jstodola@redhat.com>
Harald Hoyer 65a3b7
Date: Thu, 1 Mar 2012 20:22:57 +0100
Harald Hoyer 65a3b7
Subject: [PATCH] Fix correct nfs path
Harald Hoyer 65a3b7
Harald Hoyer 65a3b7
---
Harald Hoyer 65a3b7
 modules.d/45url-lib/url-lib.sh |    2 +-
Harald Hoyer 65a3b7
 1 files changed, 1 insertions(+), 1 deletions(-)
Harald Hoyer 65a3b7
Harald Hoyer 65a3b7
diff --git a/modules.d/45url-lib/url-lib.sh b/modules.d/45url-lib/url-lib.sh
Harald Hoyer 65a3b7
index 383e7ac..1fc80a1 100755
Harald Hoyer 65a3b7
--- a/modules.d/45url-lib/url-lib.sh
Harald Hoyer 65a3b7
+++ b/modules.d/45url-lib/url-lib.sh
Harald Hoyer 65a3b7
@@ -99,7 +99,7 @@ nfs_fetch_url() {
Harald Hoyer 65a3b7
     mntdir=$(nfs_already_mounted $server $path)
Harald Hoyer 65a3b7
     if [ -z "$mntdir" ]; then
Harald Hoyer 65a3b7
         local mntdir="$(mkuniqdir /run nfs_mnt)"
Harald Hoyer 65a3b7
-        mount_nfs $nfs:$server:$path${options:+:$options} $mntdir
Harald Hoyer 65a3b7
+        mount_nfs $nfs:$server:$filepath${options:+:$options} $mntdir
Harald Hoyer 65a3b7
         # lazy unmount during pre-pivot hook
Harald Hoyer 65a3b7
         inst_hook --hook pre-pivot --name 99url-lib-umount-nfs umount -l $mntdir
Harald Hoyer 65a3b7
     fi