core-admin/doc/manpages/qvm-pool.rst
Bahtiar `kalkin-` Gadimov d703f2f44b
Add qvm-pool and manpage for it
- Use full import paths in qvm-pool
- Add, Remove, Info and List options set `Namespace.command`. This fixes a crash
  when `-o dir_path=/mnt/foo` is specified after `-a foo xen`.
- Remove `_List`
- Remove 'added pool' and 'removed pool' messages. Unix tools are quiet
- qvm-pool call app.save()
- Rename create_parser in get_parser
- Rename local_parser variables to just parser
- qvm-pool uses print_table
2016-05-30 13:31:54 +02:00

65 lines
1.3 KiB
ReStructuredText

.. program:: qvm-pool
:program:`qvm-pool` -- manage pools
===================================
Synopsis
--------
:command:`qvm-pool` [-h] [--verbose] [--quiet] [--help-drivers] [-o options] [-l | -i *NAME* | -a *NAME* *DRIVER* | -r *NAME*]
Options
-------
.. option:: --help, -h
Show this help message and exit
.. option:: --quiet, -q
Be quiet
.. option:: --verbose, -v
Increase verbosity
.. option:: --help-drivers
List all known drivers with their options. The listed driver options can be
used with the ``-o options`` switch.
.. option:: -o options
Comma separated list of driver options. See ``--help-drivers`` for a list of
driver options.
.. option:: --list, -l
List all pools.
.. option:: --info NAME, -i NAME
Show information about a pool
.. option:: --add NAME DRIVER, -a NAME DRIVER
Add a pool. For supported drivers and their options see ``--help-drivers``.
Most of the drivers expect some kind of options.
.. option:: --remove NAME, -r NAME
Remove a pool. This removes only the information about the pool in
qubes.xml, but does not delete any content.
Examples
--------
Create a pool backed by the default `xen` driver.
::
qvm-pool -o dir_path=/mnt/foo -a foo xen
Authors
-------
| Bahtiar \`kalkin-\` Gadimov <bahtiar at gadimov dot de>