From c33f0979f0312e7a6d43645aa0a5d5b1481751f5 Mon Sep 17 00:00:00 2001 From: hc Date: Thu, 2 Jan 2025 09:26:32 +0800 Subject: udpated --- others/vm3/vm.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'others/vm3/vm.sh') diff --git a/others/vm3/vm.sh b/others/vm3/vm.sh index c36b0ae..a043f89 100755 --- a/others/vm3/vm.sh +++ b/others/vm3/vm.sh @@ -1,5 +1,6 @@ #!/bin/bash # Main entry point for VM management +# also negotiator for executing scripts, so for storage if [ "$(id -u)" != "0" ]; then echo "This script must be run as root" @@ -41,8 +42,8 @@ case $category in shutdown) $SCRIPT_DIR/compute/shutdown.sh "$@" ;; - delete) - $SCRIPT_DIR/compute/delete.sh "$@" + rm) + $SCRIPT_DIR/compute/rm.sh "$@" ;; *) echo -e "Available compute actions: \ncreate\nstart\nls\nshutdown\ndelete" -- cgit v1.2.3-70-g09d2