From 81e8d82ce10981bdadc5651ce2db8d8d47f05044 Mon Sep 17 00:00:00 2001 From: Zev Weiss Date: Fri, 17 Nov 2023 15:23:27 -0800 Subject: [PATCH] virtme-ng: Set a default for --name 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 --- virtme_ng/run.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/virtme_ng/run.py b/virtme_ng/run.py index 19bbd7f..7b897c5 100644 --- a/virtme_ng/run.py +++ b/virtme_ng/run.py @@ -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-ng", + help="Set guest hostname and qemu -name flag" ) parser.add_argument(