summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-03-28 12:35:26 +0000
committerRaphaƫl Hertzog <hertzog@debian.org>2020-04-23 15:30:41 +0200
commit1ca53bff529be066982e2c29268c72f73bdd19d1 (patch)
tree1b85590acd8f7ff93a763d38545aa23778757273 /functions
parent1eee15e8527e0b85f00c946caf7fcb57579f2256 (diff)
downloadvyos-live-build-1ca53bff529be066982e2c29268c72f73bdd19d1.tar.gz
vyos-live-build-1ca53bff529be066982e2c29268c72f73bdd19d1.zip
config: obsolete --net-root-* options (except one)
--net-root-path probably needs to go too, but it is being used for something i don't fully understand currently. Gbp-Dch: Short
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/configuration.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/functions/configuration.sh b/functions/configuration.sh
index 3fb6d6fe8..f3e443c89 100755
--- a/functions/configuration.sh
+++ b/functions/configuration.sh
@@ -469,9 +469,7 @@ Prepare_config ()
;;
esac
- LB_NET_ROOT_FILESYSTEM="${LB_NET_ROOT_FILESYSTEM:-nfs}"
LB_NET_ROOT_PATH="${LB_NET_ROOT_PATH:-/srv/${LB_MODE}-live}"
- LB_NET_ROOT_SERVER="${LB_NET_ROOT_SERVER:-192.168.1.1}"
LB_NET_TARBALL="${LB_NET_TARBALL:-true}"
LB_ONIE="${LB_ONIE:-false}"
@@ -696,11 +694,6 @@ Validate_config_permitted_values ()
exit 1
fi
- if ! In_list "${LB_NET_ROOT_FILESYSTEM}" nfs cfs; then
- Echo_error "You have specified an invalid value for LB_NET_ROOT_FILESYSTEM (--net-root-filesystem)."
- exit 1
- fi
-
if ! In_list "${LB_SOURCE_IMAGES}" iso netboot tar hdd; then
Echo_error "You have specified an invalid value for LB_SOURCE_IMAGES (--source-images)."
exit 1