chiark / gitweb /
userv setup tested and seems to work
[autopkgtest.git] / xen / on-testbed
index 24611fd8f6c9dc751dbf8ed85ae6bc17343010a3..94af6bacb13abff17c2b22d9883998e60e3e4aa9 100755 (executable)
@@ -6,12 +6,12 @@ while test $# -gt $nonoptargs; do shift; done
 : "$1"
 
 case "$1" in
---print-command)       ppfx=echo; shift        ;;
---print0-command)      ppfx=ppfx0; shift       ;;
---)                    shift                   ;;
+--print-command)       ppfx=echo; r=root@; shift       ;;
+--print0-command)      ppfx=ppfx0; r=root@; shift      ;;
+--)                    shift                           ;;
 -*)                    fail "invalid instead-of-command options \`$1'" ;;
 esac
 
 ppfx0 () { for x in "$@"; do printf '%s\0' "$x"; done; }
 
-$ppfx ssh $adt_ssh_keyident_args $adt_guest_ipaddr "$@"
+$ppfx ssh $adt_ssh_keyident_args $r$adt_guest_ipaddr "$@"