summaryrefslogtreecommitdiff
path: root/templates/clone/system/config
diff options
context:
space:
mode:
Diffstat (limited to 'templates/clone/system/config')
-rw-r--r--templates/clone/system/config/node.tag/from/node.tag/node.def5
-rw-r--r--templates/clone/system/config/node.tag/node.def1
2 files changed, 2 insertions, 4 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 d5d7f67..c244559 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
@@ -3,11 +3,10 @@ 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\//}
- reply[$i]="${reply[$i]}://"
done
- reply+=( "running://" )
+ reply+=( "running" )
if [[ -d /live/image/config ]];then
- reply+=( "disk-install://" )
+ reply+=( "disk-install" )
fi
echo "${reply[*]}"
run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ];
diff --git a/templates/clone/system/config/node.tag/node.def b/templates/clone/system/config/node.tag/node.def
index be028c9..6e6e340 100644
--- a/templates/clone/system/config/node.tag/node.def
+++ b/templates/clone/system/config/node.tag/node.def
@@ -3,7 +3,6 @@ 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\//}
- reply[$i]="${reply[$i]}://"
done
echo "${reply[*]}"
run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ];