From a7bd26d39049cf3ac5579b47f1732f07a53f92a4 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 5 Jun 2008 14:59:43 -0700 Subject: Turn off TCP SACK This is a workaround for bug 3313. The problem is that MD5 uses up what little space there for TCP options in header. --- templates/system/login/user/node.tag/shell/node.def | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 templates/system/login/user/node.tag/shell/node.def (limited to 'templates') diff --git a/templates/system/login/user/node.tag/shell/node.def b/templates/system/login/user/node.tag/shell/node.def new file mode 100644 index 00000000..b1163fdf --- /dev/null +++ b/templates/system/login/user/node.tag/shell/node.def @@ -0,0 +1,8 @@ +type: txt +help: Set command shell +default: fusioncli +syntax:expression: ( $VAR(@) in "fusioncli" "linux" || + exec "if [ -x $VAR(@) -a grep -q $VAR(@) /etc/shells ]; then exit 0; \ + else echo 'Not a valid command shell'; exit 1; fi" +allowed: echo "fusioncli linux" + awk '! /^[ ]*#/ { printf "%s ", $0 }'