summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhelpers/lh_binary_grub2
-rwxr-xr-xhelpers/lh_binary_syslinux14
-rwxr-xr-xhelpers/lh_binary_yaboot4
3 files changed, 11 insertions, 9 deletions
diff --git a/helpers/lh_binary_grub b/helpers/lh_binary_grub
index 5269d0a..5a8cc7c 100755
--- a/helpers/lh_binary_grub
+++ b/helpers/lh_binary_grub
@@ -181,7 +181,7 @@ fi
if [ -n "${LH_NET_COW_PATH}" ]
then
Echo_error "Net cow not yet supported on grub"
- exit 1
+ exit 1
fi
if [ "${LH_EXPOSED_ROOT}" != "disabled" ]
diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux
index 34ea104..7de257c 100755
--- a/helpers/lh_binary_syslinux
+++ b/helpers/lh_binary_syslinux
@@ -435,17 +435,19 @@ fi
if [ -n "${LH_NET_COW_PATH}" ]
then
case "${LH_NET_COW_FILESYSTEM}" in
- nfs)
+ nfs)
if [ -n "${LH_NET_COW_MOUNTOPTIONS}" ]
then
LH_NET_COW_MOUNTOPTIONS=",${LH_NET_COW_MOUNTOPTIONS}"
fi
+
LH_BOOTAPPEND_LIVE="${LH_BOOTAPPEND_LIVE} nfscow=${LH_NET_COW_SERVER}:${LH_NET_COW_PATH}${LH_NET_COW_MOUNTOPTIONS}"
- ;;
- *)
- Echo_error "Unsupported net filesystem"
- exit 1
- ;;
+ ;;
+
+ *)
+ Echo_error "Unsupported net filesystem"
+ exit 1
+ ;;
esac
fi
diff --git a/helpers/lh_binary_yaboot b/helpers/lh_binary_yaboot
index 4f767b7..b02b221 100755
--- a/helpers/lh_binary_yaboot
+++ b/helpers/lh_binary_yaboot
@@ -188,8 +188,8 @@ fi
if [ -n "${LH_NET_COW_PATH}" ]
then
- Echo_error "Net cow not yet supported on yaboot"
- exit 1
+ Echo_error "Net cow not yet supported on yaboot"
+ exit 1
fi
if [ "${LH_EXPOSED_ROOT}" != "disabled" ]