Revision 41f74498 snf-network-build-infra

b/snf-network-build-infra
3 3
function get_value {
4 4
  
5 5
  eval def=\$$1
6
  read -p "$1? [$def] " x
7
  if [ -n "$x" ]; then eval $1="$x"; fi
6
  read -p "$1? [$def/none] " x
7
  if [ "$x" == "none" ]; then
8
    eval $1="";
9
  elif [ -n "$x" ]; then 
10
    eval $1="$x"; 
11
  fi
8 12

  
9 13
}
10 14

  
......
23 27
cd  $SHAREDDIR/infra/
24 28

  
25 29

  
26

  
27 30
for nodegroup in $NODEGROUPS; do
28 31
  source $INFRA
29 32
  echo Group: $nodegroup

Also available in: Unified diff