Skip to content

Commit

Permalink
qvm-template: Update docs for --updatevm
Browse files Browse the repository at this point in the history
  • Loading branch information
WillyPillow committed Sep 3, 2020
1 parent 757bb33 commit 5a1e1b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion doc/manpages/qvm-template.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ Options

.. 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

Expand Down
5 changes: 3 additions & 2 deletions qubesadmin/tools/qvm_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ def parser_add_command(cmd, help_str):
default='/usr/share/qubes/repo-templates/keys',
help='Specify directory containing RPM public keys.')
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=[],
metavar='REPOID',
help=('Enable additional repositories by an id or a glob.'
Expand Down Expand Up @@ -340,7 +341,7 @@ def qrexec_popen(
``args.updatevm``.
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
used
Expand Down

0 comments on commit 5a1e1b7

Please sign in to comment.