Reserve some IPs, that are always going to be used
This commit is contained in:
parent
81cedc58f7
commit
8baf74df56
9
reserve_ips.sh
Executable file
9
reserve_ips.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
. configs/maas.config
|
||||
|
||||
for subnet in ${maas_subnets[*]} ; do
|
||||
maas ${maas_profile} ipranges create type=reserved comment="Servers" start_ip="${subnet}.241" end_ip="${subnet}.254"
|
||||
done
|
||||
|
||||
maas ${maas_profile} ipranges create type=reserved comment="OpenStack VIPs" start_ip="${maas_ip_range}.211" end_ip="${maas_ip_range}.225"
|
Loading…
x
Reference in New Issue
Block a user