fix algo
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
e2d7c921f3
commit
a8fced3ba9
1 changed files with 9 additions and 1 deletions
10
agent.sh
10
agent.sh
|
|
@ -54,6 +54,8 @@ function start_vm {
|
|||
echo
|
||||
|
||||
create_vpc "${FLAGS_vpc_name}"
|
||||
# create volume
|
||||
# create qemu
|
||||
}
|
||||
|
||||
function stop_vm {
|
||||
|
|
@ -64,7 +66,13 @@ function stop_vm {
|
|||
FLAGS "$@" || exit $?
|
||||
eval set -- "${FLAGS_ARGV}"
|
||||
|
||||
delete_vpc "${FLAGS_vpc_name}"
|
||||
# delete qemu
|
||||
# check how many qemu in subnet
|
||||
# if qemu number = 0
|
||||
# delete subnet
|
||||
# check subnet number in vpc
|
||||
# if subnet number =0
|
||||
delete_vpc "${FLAGS_vpc_name}"
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue