Revision b30e35c6 devel/upload.in

b/devel/upload.in
100 100
# and now put it under $prefix on the target node(s)
101 101
for host; do
102 102
  echo Uploading code to ${host}...
103
  rsync -v -rlDc --exclude="*.py[oc]" --exclude="*.pdf" --exclude="*.html" \
103
  rsync -v -rlDc \
104
    -e "ssh -oBatchMode=yes" \
105
    --exclude="*.py[oc]" --exclude="*.pdf" --exclude="*.html" \
104 106
    "$TXD/" \
105 107
    root@${host}:/ &
106 108
done
......
109 111
if test -z "${NO_RESTART}"; then
110 112
  for host; do
111 113
    echo Restarting ganeti-noded on ${host}...
112
    ssh root@${host} /etc/init.d/ganeti restart &
114
    ssh -oBatchMode=yes root@${host} /etc/init.d/ganeti restart &
113 115
  done
114 116
  wait
115 117
fi

Also available in: Unified diff