diff options
Diffstat (limited to 'templates/update')
-rw-r--r-- | templates/update/config/node.def | 1 | ||||
-rw-r--r-- | templates/update/config/node.tag/from/node.def | 1 | ||||
-rw-r--r-- | templates/update/config/node.tag/from/node.tag/node.def | 10 | ||||
-rw-r--r-- | templates/update/config/node.tag/node.def | 10 |
4 files changed, 0 insertions, 22 deletions
diff --git a/templates/update/config/node.def b/templates/update/config/node.def deleted file mode 100644 index 4bf41da..0000000 --- a/templates/update/config/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Update image config diff --git a/templates/update/config/node.tag/from/node.def b/templates/update/config/node.tag/from/node.def deleted file mode 100644 index 413f817..0000000 --- a/templates/update/config/node.tag/from/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Image to update from diff --git a/templates/update/config/node.tag/from/node.tag/node.def b/templates/update/config/node.tag/from/node.tag/node.def deleted file mode 100644 index d540b9c..0000000 --- a/templates/update/config/node.tag/from/node.tag/node.def +++ /dev/null @@ -1,10 +0,0 @@ -help: Image to update from -allowed: reply=( $(compgen -f /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://" ) - echo "${reply[*]}" -run: sudo ${vyatta_sbindir}/vyatta-image-tools.pl --update $3 $5 diff --git a/templates/update/config/node.tag/node.def b/templates/update/config/node.tag/node.def deleted file mode 100644 index 8a4a2eb..0000000 --- a/templates/update/config/node.tag/node.def +++ /dev/null @@ -1,10 +0,0 @@ -help: Image to update -allowed: reply=( $(compgen -f /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://" ) - echo "${reply[*]}" -run: sudo ${vyatta_sbindir}/vyatta-image-tools.pl --updateone $3 |