Add a `remote control vnctoken` remctl for generating a VNC auth token
[invirt/packages/invirt-remote.git] / files / usr / sbin / invirt-vmcontrol
index bb3006b..520aebd 100755 (executable)
@@ -40,6 +40,8 @@ case "$ACTION" in
     list-long)
        xm list --long "$MACHINE"
        ;;
+    vnctoken)
+        invirt-vnc-authtoken "$ORIGMACHINE"
     *)
         echo "ERROR: Invalid Command"
         exit 34