summaryrefslogtreecommitdiff
path: root/functions/defaults.sh
diff options
context:
space:
mode:
authorJesse Hathaway <jesse@mbuki-mvuki.org>2007-10-30 14:17:16 -0400
committerDaniel Baumann <daniel@debian.org>2007-10-31 11:06:58 +0100
commitbb08fc8d1e287b7d38e864d3b57fac4406f5adcc (patch)
tree96072f2e8ed0dbae13979afda974c18d825c63e4 /functions/defaults.sh
parentbeebfa63ae2e82fd30f56efb67848dd32494f668 (diff)
downloadvyos-live-build-bb08fc8d1e287b7d38e864d3b57fac4406f5adcc.tar.gz
vyos-live-build-bb08fc8d1e287b7d38e864d3b57fac4406f5adcc.zip
add new option to mount cow device on nfs volume
At the moment this only works with the root volume on nfs as well. If we add a switch to configure the network early in the boot process then this option could be made available for other root mediums. This option works reliably on the latest kernel 2.6.23.1 On earlier kernels I experienced frequent oopses.
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-xfunctions/defaults.sh13
1 files changed, 8 insertions, 5 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 30e40621c..c389a6c52 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -540,24 +540,27 @@ Set_defaults ()
LH_MEMTEST="${LH_MEMTEST:-memtest86+}"
# Setting netboot filesystem
- LH_NET_FILESYSTEM="${LH_NET_FILESYSTEM:-nfs}"
+ LH_NET_ROOT_FILESYSTEM="${LH_NET_ROOT_FILESYSTEM:-nfs}"
# Setting netboot server path
- if [ -z "${LH_NET_PATH}" ]
+ if [ -z "${LH_NET_ROOT_PATH}" ]
then
case "${LH_MODE}" in
debian)
- LH_NET_PATH="/srv/debian-live"
+ LH_NET_ROOT_PATH="/srv/debian-live"
;;
debian-edu)
- LH_NET_PATH="/srv/debian-edu-live"
+ LH_NET_ROOT_PATH="/srv/debian-edu-live"
;;
esac
fi
# Setting netboot server address
- LH_NET_SERVER="${LH_NET_SERVER:-192.168.1.1}"
+ LH_NET_ROOT_SERVER="${LH_NET_ROOT_SERVER:-192.168.1.1}"
+
+ # Setting net cow filesystem
+ LH_NET_COW_FILESYSTEM="${LH_NET_COW_FILESYSTEM:-nfs}"
# Setting syslinux configuration file
# LH_SYSLINUX_CFG