projects
/
invirt/packages/invirt-remote.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
In the invirt-janitor, ignore errors from the dd.
[invirt/packages/invirt-remote.git]
/
host
/
usr
/
sbin
/
invirt-remote
diff --git
a/host/usr/sbin/invirt-remote
b/host/usr/sbin/invirt-remote
index
dcac451
..
4c78d4e
100755
(executable)
--- a/
host/usr/sbin/invirt-remote
+++ b/
host/usr/sbin/invirt-remote
@@
-11,18
+11,18
@@
case "$TYPE" in
control)
# $SERVICE is hostname
COMMAND=/usr/sbin/invirt-vmcontrol
control)
# $SERVICE is hostname
COMMAND=/usr/sbin/invirt-vmcontrol
- ;;
+ ;;
web)
case "$SERVICE" in
lvcreate|lvremove|lvrename|lvresize)
COMMAND=/usr/sbin/invirt-lvm
web)
case "$SERVICE" in
lvcreate|lvremove|lvrename|lvresize)
COMMAND=/usr/sbin/invirt-lvm
- ;;
+ ;;
listvms)
COMMAND=/usr/sbin/invirt-listvms
listvms)
COMMAND=/usr/sbin/invirt-listvms
- ;;
- info)
- exec /usr/sbin/xm info
- ;;
+ ;;
+ availability|avail)
+ COMMAND=/usr/sbin/invirt-availability
+ ;;
vnccert)
COMMAND=/usr/bin/invirt-vnc-getcert
;;
vnccert)
COMMAND=/usr/bin/invirt-vnc-getcert
;;
@@
-31,11
+31,11
@@
case "$TYPE" in
exit 34
;;
esac
exit 34
;;
esac
- ;;
+ ;;
*)
echo "ERROR: invalid command"
exit 34
;;
esac
*)
echo "ERROR: invalid command"
exit 34
;;
esac
-exec "$COMMAND" "$SERVICE" "$@"
+$COMMAND "$SERVICE" "$@"