From 5a263464e3de8c374767073c88200ef89e112295 Mon Sep 17 00:00:00 2001 From: GnomeZworc Date: Thu, 8 May 2025 11:33:03 +0200 Subject: [PATCH] add volume info in agent Signed-off-by: GnomeZworc --- agent.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/agent.sh b/agent.sh index 3b70da3..8da5de7 100644 --- a/agent.sh +++ b/agent.sh @@ -24,6 +24,7 @@ function start_vm { DEFINE_string 'subnet_name' '-' 'SUBNET NAME' 's' DEFINE_string 'vm_name' '-' 'VM NAME' 'm' DEFINE_string 'vm_ip' '-' 'VM CIDR' 'p' + DEFINE_string 'volume_id' '-' 'Volume backend file' 'o' DEFINE_boolean 'dryrun' false 'Enable dry-run mode' 'd' FLAGS "$@" || exit $? @@ -49,6 +50,7 @@ function start_vm { print_in_color "${COLOR_SYAN}" "vm:" print_in_color "${COLOR_SYAN}" " name: ${FLAGS_vm_name}" print_in_color "${COLOR_SYAN}" " ip: ${vm_ip}" + print_in_color "${COLOR_SYAN}" " volume backing file: ${FLAGS_volume_id}" print_in_color "${COLOR_SYAN}" " tap: to generate" print_in_color "${COLOR_SYAN}" "#############################################" echo