add vpc data
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
4caa1122ad
commit
0b4cf4ef25
1 changed files with 4 additions and 0 deletions
4
agent.sh
4
agent.sh
|
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
. ./lib/vpc.sh
|
||||
|
||||
function start_vm {
|
||||
[[ -f ./libs/shflags ]] && . ./libs/shflags || eval "$(curl --silent https://git.g3e.fr/H6N/tools/raw/branch/main/libs/shflags)"
|
||||
|
||||
|
|
@ -37,6 +39,8 @@ function start_vm {
|
|||
echo " name: ${FLAGS_vm_name}"
|
||||
echo " ip: ${vm_ip}"
|
||||
echo " tap: to generate"
|
||||
|
||||
create_vpc "${FLAGS_vpc_name}"
|
||||
}
|
||||
|
||||
function main {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue