add subnet create

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2025-05-08 00:21:31 +02:00
commit 78d57c1b09
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
2 changed files with 84 additions and 0 deletions

View file

@ -8,6 +8,7 @@
[[ -f ./libs/shflags ]] && . ./libs/shflags || eval "$(curl --silent https://git.g3e.fr/H6N/tools/raw/branch/main/libs/shflags)"
. ./lib/vpc.sh
. ./lib/subnet.sh
. ./lib/colors.sh
DRY_RUN="1"
@ -54,6 +55,7 @@ function start_vm {
echo
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
}