diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-06-28 12:51:49 -0500 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-06-28 12:51:49 -0500 |
commit | e0c3601ff8bbb8da057b7784bf096ca088012556 (patch) | |
tree | 9fcfeeb5ad0a424999f2f7cd8a13951ce2ffe41d /templates | |
parent | fba0824c88267e0c41efa36a4fde05c8ee5daa0a (diff) | |
download | vyatta-op-e0c3601ff8bbb8da057b7784bf096ca088012556.tar.gz vyatta-op-e0c3601ff8bbb8da057b7784bf096ca088012556.zip |
Use proper directory for disk-installs. Do completion of directory names only in clone system config since disk installs will have other files in /live/image/boot
Diffstat (limited to 'templates')
-rw-r--r-- | templates/clone/system/config/node.tag/from/node.tag/node.def | 2 | ||||
-rw-r--r-- | templates/clone/system/config/node.tag/node.def | 2 |
2 files changed, 2 insertions, 2 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 6061efd..d5d7f67 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,5 +1,5 @@ help: Image to update from -allowed: reply=( $(compgen -f /live/image/boot/ | grep -v grub) ) +allowed: reply=( $(compgen -d /live/image/boot/ | grep -v grub) ) for i in `seq 0 $[${#reply[@]}-1]`; do file=${reply[$i]} reply[$i]=${file/#\/live\/image\/boot\//} diff --git a/templates/clone/system/config/node.tag/node.def b/templates/clone/system/config/node.tag/node.def index d4a04c0..be028c9 100644 --- a/templates/clone/system/config/node.tag/node.def +++ b/templates/clone/system/config/node.tag/node.def @@ -1,5 +1,5 @@ help: Image to update -allowed: reply=( $(compgen -f /live/image/boot/ | grep -v grub) ) +allowed: reply=( $(compgen -d /live/image/boot/ | grep -v grub) ) for i in `seq 0 $[${#reply[@]}-1]`; do file=${reply[$i]} reply[$i]=${file/#\/live\/image\/boot\//} |