summaryrefslogtreecommitdiff
path: root/scripts/install/install-image-new
diff options
context:
space:
mode:
authorJames Davidson <james.davidson@vyatta.com>2012-10-19 15:59:56 -0700
committerKim Hagen <khagen@multi-development.com>2014-04-25 20:28:18 +0200
commitb4cf6641f3402a17dc83592abd8fe5e8ff0de802 (patch)
tree3ad3f1455e4d468a6437a8e5febc108d732837e9 /scripts/install/install-image-new
parent54ebd5693d7ff6f2847f6069570e3e33f90c92d4 (diff)
downloadvyatta-cfg-system-b4cf6641f3402a17dc83592abd8fe5e8ff0de802.tar.gz
vyatta-cfg-system-b4cf6641f3402a17dc83592abd8fe5e8ff0de802.zip
Support and switch to overlayfs
Diffstat (limited to 'scripts/install/install-image-new')
-rwxr-xr-xscripts/install/install-image-new2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install/install-image-new b/scripts/install/install-image-new
index 3097392a..5c87c1ea 100755
--- a/scripts/install/install-image-new
+++ b/scripts/install/install-image-new
@@ -94,7 +94,7 @@ if ! try_mount "-o loop,ro -t squashfs $target_squash $READ_ROOT"; then
echo 'Exiting...'
exit 1
fi
-margs="-t unionfs -o noatime,dirs=$rw_dir=rw:$READ_ROOT=ro unionfs $INST_ROOT"
+margs=$(gen_mopts "overlayfs" $rw_dir $READ_ROOT $INST_ROOT)
if ! try_mount "$margs"; then
echo 'Exiting...'
exit 1