core-admin/doc/manpages/qvm-run.rst

110 lines
3.1 KiB
ReStructuredText
Raw Normal View History

2014-11-21 12:30:23 +01:00
.. program:: qvm-run
2013-03-12 16:55:05 +01:00
:program:`qvm-run` -- Run a command in a specified VM
2014-11-21 12:30:23 +01:00
=====================================================
2013-03-12 16:55:05 +01:00
2014-11-21 12:30:23 +01:00
Synopsis
--------
:command:`qvm-run` [-h] [--verbose] [--quiet] [--all] [--exclude *EXCLUDE*] [--user *USER*] [--autostart] [--pass-io] [--localcmd *COMMAND*] [--gui] [--no-gui] [--colour-output *COLOR*] [--no-color-output] [--filter-escape-chars] [--no-filter-escape-chars] [*VMNAME*] *COMMAND*
2013-03-12 16:55:05 +01:00
2014-11-21 12:30:23 +01:00
Options
-------
2014-11-21 12:30:23 +01:00
.. option:: --help, -h
Show the help message and exit.
.. option:: --verbose, -v
Increase verbosity.
2014-11-21 12:30:23 +01:00
.. option:: --quiet, -q
Decrease verbosity.
2014-11-21 12:30:23 +01:00
.. option:: --all
2014-11-21 12:30:23 +01:00
Run the command on all qubes. You can use :option:`--exclude` to limit the
qubes set. Command is never run on the dom0.
2014-11-21 12:30:23 +01:00
.. option:: --exclude
2014-11-21 12:30:23 +01:00
Exclude the qube from :option:`--all`.
2014-11-21 12:30:23 +01:00
.. option:: --user=USER, -u USER
2014-11-21 12:30:23 +01:00
Run command in a qube as *USER*.
2014-11-21 12:30:23 +01:00
.. option:: --auto, --autostart, -a
2014-11-21 12:30:23 +01:00
Start the qube if it is not running.
2014-11-21 12:30:23 +01:00
.. option:: --pass-io, -p
2014-11-21 12:30:23 +01:00
Pass standard input and output to and from the remote program.
2014-11-21 12:30:23 +01:00
.. option:: --localcmd=COMMAND
2014-11-21 12:30:23 +01:00
With :option:`--pass-io`, pass standard input and output to and from the
given program.
2014-11-21 12:30:23 +01:00
.. option:: --gui
2014-11-21 12:30:23 +01:00
Run the command with GUI forwarding enabled, which is the default. This
switch can be used to counter :option:`--no-gui`.
2014-11-21 12:30:23 +01:00
.. option:: --no-gui, --nogui
2014-11-21 12:30:23 +01:00
Run the command without GUI forwarding enabled. Can be switched back with
:option:`--gui`.
2014-11-21 12:30:23 +01:00
.. option:: --colour-output=COLOUR, --color-output=COLOR
2014-11-21 12:30:23 +01:00
Mark the qube output with given ANSI colour (ie. "31" for red). The exact
mapping of numbers to colours and styles depends of the particular terminal
emulator.
2014-11-21 12:30:23 +01:00
Colouring can be disabled with :option:`--no-colour-output`.
2014-11-21 12:30:23 +01:00
.. option:: --colour-stderr=COLOUR, --color-stderr=COLOR
Mark the qube stderr with given ANSI colour (ie. "31" for red). The exact
mapping of numbers to colours and styles depends of the particular terminal
emulator.
Colouring can be disabled with :option:`--no-colour-stderr`.
.. option:: --no-colour-output, --no-color-output
2014-11-21 12:30:23 +01:00
Disable colouring the stdout.
.. option:: --no-colour-stderr, --no-color-stderr
Disable colouring the stderr.
2014-11-21 12:30:23 +01:00
.. option:: --filter-escape-chars
2014-11-21 12:30:23 +01:00
Filter terminal escape sequences (default if output is terminal).
Terminal control characters are a security issue, which in worst case amount
to arbitrary command execution. In the simplest case this requires two often
found codes: terminal title setting (which puts arbitrary string in the
window title) and title repo reporting (which puts that string on the shell's
standard input.
2014-11-21 12:30:23 +01:00
.. option:: --no-filter-escape-chars
2014-11-21 12:30:23 +01:00
Do not filter terminal escape sequences. This is DANGEROUS when output is
a terminal emulator. See :option:`--filter-escape-chars` for explanation.
2013-03-12 16:55:05 +01:00
2014-11-21 12:30:23 +01:00
Authors
-------
2013-03-12 16:55:05 +01:00
| Joanna Rutkowska <joanna at invisiblethingslab dot com>
| Rafal Wojtczuk <rafal at invisiblethingslab dot com>
| Marek Marczykowski <marmarek at invisiblethingslab dot com>
| Wojtek Porczyk <woju at invisiblethingslab dot com>
.. vim: ts=3 sw=3 et tw=80