chiark / gitweb /
finalise changelog
[autopkgtest.git] / xen / on-testbed
1 #!/bin/bash
2 set -e
3 . ${ADT_XENLVM_SHARE:=/usr/share/autopkgtest/xenlvm}/justconfig
4 while test $# -gt $nonoptargs; do shift; done
5
6 : "$1"
7
8 case "$1" in
9 --print-command)        ppfx=echo; r=root@; shift       ;;
10 --print0-command)       ppfx=ppfx0; r=root@; shift      ;;
11 --)                     shift                           ;;
12 -*)                     fail "invalid instead-of-command options \`$1'" ;;
13 esac
14
15 ppfx0 () { for x in "$@"; do printf '%s\0' "$x"; done; }
16
17 $ppfx ssh $adt_ssh_keyident_args $r$adt_guest_ipaddr "$@"