doh, actually removing the test code
This commit is contained in:
parent
d446f995c8
commit
d81aa58f7c
|
@ -27,18 +27,6 @@ case "$1" in
|
|||
IPSECCONFIG="/etc/ipsec.conf.wit"
|
||||
|
||||
|
||||
#HOSTNAME=d21.usw2.admin.wit.com
|
||||
HOSTNAME=bastion.usw2.admin.wit.com
|
||||
#HOSTNAME=edge2.usw2.admin.wit.com
|
||||
|
||||
IFCONFIG="/tmp/interfaces"
|
||||
UDEVCONFIG="/tmp/70-persistent-net.rules"
|
||||
FRRCONFIG="/tmp/frr.conf.wit"
|
||||
IPSECCONFIG="/tmp/ipsec.conf.wit"
|
||||
cp files/frr.conf.wit /tmp
|
||||
cp files/ipsec.conf.wit /tmp
|
||||
|
||||
|
||||
## START gather all the info from the box and generate the variabels
|
||||
|
||||
dig_txt() {
|
||||
|
@ -298,7 +286,7 @@ case "$1" in
|
|||
-e "s/IPSEC_IPV4_SUBNETS/$IPSEC_IPV4_SUBNETS/" \
|
||||
-e "s/IPSEC_IPV6_SUBNETS/$IPSEC_IPV6_SUBNETS/" \
|
||||
$IPSECCONFIG
|
||||
exit 100
|
||||
|
||||
echo ": RSA ${HOSTNAME}.key" >/etc/ipsec.secrets
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue