You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
839 B

# URL of the API
URL="https://ipam.example.conf/api/${USER_IPAM}"
# Bridge used by VMs
VM_BRIDGE_DEV="vmbr99"
# IPv6 gateway for the VM
IPV6_GATEWAY="fe80::123:123:123:123"
# If multiple DNS nameservers, seperate each of them vy a space
DNS_NAMESERVERS_IPV4='1.2.3.4 2.3.4.5'
DNS_NAMESERVERS_IPV6='1111:2222::3333 2222:3333::4444'
# ID of the ranges, you can put multiple ranges per AFI, these values will be use to check if the new VM_ID is already registered or not in IPAM
ID_RANGES_V4='123 234'
ID_RANGES_V6='345'
# Only one value in next params
ID_RANGE_V4_TO_CREATE_VM='123'
ID_RANGE_V6_TO_CREATE_VM='345'
# Set the limit for possible disk size (Giga)
VM_DISK_MIN=32
VM_DISK_MAX=64
# Set the limit for possible vCPU number
VM_CPU_MIN=1
VM_CPU_MAX=4
# Set the limit for possible RAM size (Mega)
VM_RAM_MIN=512
VM_RAM_MAX=2048