From 210910f70931106d1d5c6a9164c0a7bfe3af30ef 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..5eb7af7 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", + help="Set guest hostname and qemu -name flag" ) parser.add_argument(