From 5f79c47dc2eede7195400d65f481a66b3f8826b7 Mon Sep 17 00:00:00 2001 From: primardj Date: Wed, 24 Jan 2024 01:05:14 +0000 Subject: [PATCH] remove some useless echo --- vm-start.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/vm-start.sh b/vm-start.sh index a09a805..bb8fb49 100755 --- a/vm-start.sh +++ b/vm-start.sh @@ -4,7 +4,7 @@ #RESULT_POSSIBLE=("init","start","start_backup","create","backup","restore","suppr") # Constante d'éxecutions. -Version="0.6.1" +Version="0.6.2" USAGE="vm-start [ NAME COMMAND [PARAMETER] ] [OPTION] Script to manage virtual machine easily. @@ -81,8 +81,6 @@ EOF } start_the_vm() { - echo "${MAIN_LOCATION}/${LOCATION}/${VMDRIVE}" - echo "$OPTION" qemu-system-x86_64 \ -enable-kvm \ -cpu host \ @@ -153,7 +151,6 @@ RESTORE() { BACKUP() { - # Should test if the folder ${MAIN_LOCATION}/${LOCATION}/${VMHOSTNAME}.cow exist or else it will arrive an error. read -p "Are you sure you want to backup the volume? If you continue the previous backup will be lost (y/N) " -r entry if echo "$entry" | grep -q "^[yY]$" then @@ -239,8 +236,6 @@ for (( i=3; i<=$#; i++)); do ;; "create_disk") INSTALLATION_DISK_LOCATION="${!i#*=}" - echo "${!i#*=}" - echo "${INSTALLATION_DISK_LOCATION}" ;; esac done