Blob Blame History Raw
From 778f767bccf14f49573d5fffca40841f42401e75 Mon Sep 17 00:00:00 2001
From: Jan Stodola <jstodola@redhat.com>
Date: Thu, 1 Mar 2012 20:22:57 +0100
Subject: [PATCH] Fix correct nfs path

---
 modules.d/45url-lib/url-lib.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules.d/45url-lib/url-lib.sh b/modules.d/45url-lib/url-lib.sh
index 383e7ac..1fc80a1 100755
--- a/modules.d/45url-lib/url-lib.sh
+++ b/modules.d/45url-lib/url-lib.sh
@@ -99,7 +99,7 @@ nfs_fetch_url() {
     mntdir=$(nfs_already_mounted $server $path)
     if [ -z "$mntdir" ]; then
         local mntdir="$(mkuniqdir /run nfs_mnt)"
-        mount_nfs $nfs:$server:$path${options:+:$options} $mntdir
+        mount_nfs $nfs:$server:$filepath${options:+:$options} $mntdir
         # lazy unmount during pre-pivot hook
         inst_hook --hook pre-pivot --name 99url-lib-umount-nfs umount -l $mntdir
     fi