diff --git a/debian/wit-network-config.postinst b/debian/wit-network-config.postinst index d5ec86c..cd02963 100755 --- a/debian/wit-network-config.postinst +++ b/debian/wit-network-config.postinst @@ -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