summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2016-02-01 07:34:14 -0500
committerKim Hagen <kim.sidney@gmail.com>2016-02-01 07:34:14 -0500
commit1f74a457ae7f9157daf9de1733db71cb52cca950 (patch)
treef218e45d44591728e05127b67df28b2fa34de251 /components
parent19b5c79af20178c7bb0ff156d0ebb9dc4f3712ae (diff)
downloadlive-boot-1f74a457ae7f9157daf9de1733db71cb52cca950.tar.gz
live-boot-1f74a457ae7f9157daf9de1733db71cb52cca950.zip
Add vyatta-union and vyos-union options.
Diffstat (limited to 'components')
-rwxr-xr-xcomponents/9990-cmdline-old23
1 files changed, 23 insertions, 0 deletions
diff --git a/components/9990-cmdline-old b/components/9990-cmdline-old
index efb33c1..911fb4e 100755
--- a/components/9990-cmdline-old
+++ b/components/9990-cmdline-old
@@ -241,6 +241,29 @@ Cmdline_old ()
UNIONTYPE="${_PARAMETER#union=}"
export UNIONTYPE
;;
+ vyatta-union=*)
+ # vyatta union boot for backwards compatible
+ LIVE_MEDIA_PATH="${_PARAMETER#vyatta-union=}"
+ PERSISTENCE_PATH="$LIVE_MEDIA_PATH/"
+ PERSISTENCE="true"
+ export LIVE_MEDIA_PATH PERSISTENCE_PATH PERSISTENCE
+ NONETWORKING="true"
+ export NONETWORKING
+ UNIONTYPE="overlay"
+ export UNIONTYPE
+ ;;
+
+ vyos-union=*)
+ # vyos union boot
+ LIVE_MEDIA_PATH="${_PARAMETER#vyos-union=}"
+ PERSISTENCE_PATH="$LIVE_MEDIA_PATH/"
+ PERSISTENCE="true"
+ export LIVE_MEDIA_PATH PERSISTENCE_PATH PERSISTENCE
+ NONETWORKING="true"
+ export NONETWORKING
+ UNIONTYPE="overlay"
+ export UNIONTYPE
+ ;;
esac
done