2 # invirt-remote TYPE SERVICE [ARGS...]
4 # We carry out the remctl command proxied to us by the remote-control server.
12 # $SERVICE is hostname
13 COMMAND=/usr/sbin/invirt-vmcontrol
17 lvcreate|lvremove|lvrename|lvresize)
18 COMMAND=/usr/sbin/invirt-lvm
21 COMMAND=/usr/sbin/invirt-listvms
24 exec /usr/sbin/xm info
27 COMMAND=/usr/bin/invirt-vnc-getcert
30 echo "ERROR: invalid subcommand"
36 echo "ERROR: invalid command"
41 exec "$COMMAND" "$SERVICE" "$@"