add qemu start gestion
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
11eef332b7
commit
1cdb89b0e6
2 changed files with 43 additions and 2 deletions
4
agent.sh
4
agent.sh
|
|
@ -10,6 +10,7 @@
|
|||
. ./lib/vpc.sh
|
||||
. ./lib/subnet.sh
|
||||
. ./lib/colors.sh
|
||||
. ./lib/qemu.sh
|
||||
|
||||
DRY_RUN="1"
|
||||
SIMULATION="1"
|
||||
|
|
@ -58,8 +59,7 @@ function start_vm {
|
|||
|
||||
create_vpc "${FLAGS_vpc_name}"
|
||||
create_subnet "${FLAGS_vpc_name}" "${FLAGS_subnet_name}" "${FLAGS_vxlan_id}" "${local_ip}" "${gateway_ip}" "${subnet}"
|
||||
# create volume
|
||||
# create qemu
|
||||
qemu_start_vm "${FLAGS_vm_ip}" "${FLAGS_subnet_name}" "${FLAGS_vpc_name}" "${FLAGS_vm_name}" "${FLAGS_volume_id}"
|
||||
}
|
||||
|
||||
function stop_vm {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue