qvm-template: Update docs for --updatevm
This commit is contained in:
parent
757bb33329
commit
5a1e1b7fdd
@ -30,7 +30,8 @@ Options
|
|||||||
|
|
||||||
.. option:: --updatevm UPDATEVM
|
.. option:: --updatevm UPDATEVM
|
||||||
|
|
||||||
Specify VM to download updates from. (default: sys-firewall)
|
Specify VM to download updates from. (Set to empty string to specify the
|
||||||
|
current VM.) (default: sys-firewall)
|
||||||
|
|
||||||
.. option:: --enablerepo REPOID
|
.. option:: --enablerepo REPOID
|
||||||
|
|
||||||
|
@ -76,7 +76,8 @@ def parser_gen() -> argparse.ArgumentParser:
|
|||||||
default='/usr/share/qubes/repo-templates/keys',
|
default='/usr/share/qubes/repo-templates/keys',
|
||||||
help='Specify directory containing RPM public keys.')
|
help='Specify directory containing RPM public keys.')
|
||||||
parser_main.add_argument('--updatevm', default='sys-firewall',
|
parser_main.add_argument('--updatevm', default='sys-firewall',
|
||||||
help='Specify VM to download updates from.')
|
help=('Specify VM to download updates from.'
|
||||||
|
' (Set to empty string to specify the current VM.)'))
|
||||||
parser_main.add_argument('--enablerepo', action='append', default=[],
|
parser_main.add_argument('--enablerepo', action='append', default=[],
|
||||||
metavar='REPOID',
|
metavar='REPOID',
|
||||||
help=('Enable additional repositories by an id or a glob.'
|
help=('Enable additional repositories by an id or a glob.'
|
||||||
@ -340,7 +341,7 @@ def qrexec_popen(
|
|||||||
``args.updatevm``.
|
``args.updatevm``.
|
||||||
|
|
||||||
Note that this falls back to invoking ``/etc/qubes-rpc/*`` directly if
|
Note that this falls back to invoking ``/etc/qubes-rpc/*`` directly if
|
||||||
``args.updatevm`` is None.
|
``args.updatevm`` is empty string.
|
||||||
|
|
||||||
:param args: Arguments received by the application. ``args.updatevm`` is
|
:param args: Arguments received by the application. ``args.updatevm`` is
|
||||||
used
|
used
|
||||||
|
Loading…
Reference in New Issue
Block a user