Skip to content

Commit

Permalink
virtme-ng: Set a default for --name
Browse files Browse the repository at this point in the history
This is basically just to help make it easier to distinguish a shell
prompt within the guest from one on the host (as long as your prompt
incorporates the hostname).

Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
  • Loading branch information
zevweiss committed Nov 20, 2023
1 parent 01bb02e commit 210910f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion virtme_ng/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,10 @@ def make_parser():
parser.add_argument("--qemu", action="store", help="Use the specified QEMU binary")

parser.add_argument(
"--name", action="store", help="Set guest hostname and qemu -name flag"
"--name",
action="store",
default="virtme",
help="Set guest hostname and qemu -name flag"
)

parser.add_argument(
Expand Down

0 comments on commit 210910f

Please sign in to comment.