summaryrefslogtreecommitdiff
path: root/functions/defaults.sh
diff options
context:
space:
mode:
authorJesse Hathaway <jesse@mbuki-mvuki.org>2007-10-23 16:56:43 -0400
committerJesse Hathaway <jesse@mbuki-mvuki.org>2007-10-24 13:36:42 -0400
commit00aa1d0c28de2895246a70c2beb09cd1e7e6cd13 (patch)
tree1105c23f66cc7491fd92be00c7893f576f822bd5 /functions/defaults.sh
parentacff181e6333020449a067803b348ccd55668721 (diff)
downloadvyos-live-build-00aa1d0c28de2895246a70c2beb09cd1e7e6cd13.tar.gz
vyos-live-build-00aa1d0c28de2895246a70c2beb09cd1e7e6cd13.zip
add exposedroot option which exposes the root fs as ro
This option allows you to expose the root read only. Using this option a person could upgrade the root filesystem or add packages without requiring the user to reboot. The root filesystem could be kept on an nfs volume or some other persistent medium. Multiple clients could then be booted off the same root fs. I used LTSP as a template to determine which directories to make rw.
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-xfunctions/defaults.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 715e568ae..8a876f0ea 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -298,6 +298,9 @@ Set_defaults ()
# Setting chroot filesystem
LH_CHROOT_FILESYSTEM="${LH_CHROOT_FILESYSTEM:-squashfs}"
+ # Setting whether to expose root filesystem as read only
+ LH_EXPOSED_ROOT="${LH_EXPOSED_ROOT:-disabled}"
+
# Setting union filesystem
if [ -z "${LH_UNION_FILESYSTEM}" ]
then