diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2016-02-08 12:27:08 -0500 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2016-02-08 12:27:08 -0500 |
commit | 59240c87059fd207b3ec38238851f6fe6982e48c (patch) | |
tree | c308dcd9622c3f748bc2da542eff9328b4548f8c /templates/clone/system/config | |
parent | b4275461305f74798c7805ce2a5d25105e82caea (diff) | |
download | vyatta-op-59240c87059fd207b3ec38238851f6fe6982e48c.tar.gz vyatta-op-59240c87059fd207b3ec38238851f6fe6982e48c.zip |
Update debian live mountpoint directories.
Diffstat (limited to 'templates/clone/system/config')
-rw-r--r-- | templates/clone/system/config/node.tag/from/node.tag/node.def | 6 | ||||
-rw-r--r-- | templates/clone/system/config/node.tag/node.def | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/templates/clone/system/config/node.tag/from/node.tag/node.def b/templates/clone/system/config/node.tag/from/node.tag/node.def index c244559..d883c8c 100644 --- a/templates/clone/system/config/node.tag/from/node.tag/node.def +++ b/templates/clone/system/config/node.tag/from/node.tag/node.def @@ -1,11 +1,11 @@ help: Image to update from -allowed: reply=( $(compgen -d /live/image/boot/ | grep -v grub) ) +allowed: reply=( $(compgen -d /lib/live/mount/persistence/boot/ | grep -v grub) ) for i in `seq 0 $[${#reply[@]}-1]`; do file=${reply[$i]} - reply[$i]=${file/#\/live\/image\/boot\//} + reply[$i]=${file/#\/lib\/live\/mount\/persistence\/boot\//} done reply+=( "running" ) - if [[ -d /live/image/config ]];then + if [[ -d /lib/live/mount/persistence/config ]];then reply+=( "disk-install" ) fi echo "${reply[*]}" diff --git a/templates/clone/system/config/node.tag/node.def b/templates/clone/system/config/node.tag/node.def index 6e6e340..ec82322 100644 --- a/templates/clone/system/config/node.tag/node.def +++ b/templates/clone/system/config/node.tag/node.def @@ -1,8 +1,8 @@ help: Image to update -allowed: reply=( $(compgen -d /live/image/boot/ | grep -v grub) ) +allowed: reply=( $(compgen -d /lib/live/mount/persistence/boot/ | grep -v grub) ) for i in `seq 0 $[${#reply[@]}-1]`; do file=${reply[$i]} - reply[$i]=${file/#\/live\/image\/boot\//} + reply[$i]=${file/#\/lib\/live\/mount\/persistence\/boot\//} done echo "${reply[*]}" run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ]; |