fixing sysctl tweak path

This commit is contained in:
toby 2019-02-14 17:31:38 -08:00
parent 3003509bf4
commit 289b42e100
2 changed files with 3 additions and 2 deletions

View File

@ -8,7 +8,7 @@ pipeline:
- apt-get --allow-releaseinfo-change update
- apt-get install -y sed strongswan frr isc-dhcp-client systemd
- apt-get clean
- echo "wit-network-config (2.0.$(date +%Y.%m.%d.%H.%M)) unstable; urgency=low\n\n$(git log --format=" * %s")\n\n -- wit <netops@wit.com> $(date -R)" >debian/changelog
- echo "wit-network-config (2.0.$(TZ=UTC date +%Y.%m.%d.%H.%M)) unstable; urgency=low\n\n$(git log --format=" * %s")\n\n -- wit <netops@wit.com> $(TZ=UTC date -R)" >debian/changelog
- dpkg-buildpackage --no-sign
- ls -lha ../wit-network-config_*_all.deb
- echo "$SSH_KEY" >/tmp/id_rsa

View File

@ -28,6 +28,7 @@ case "$1" in
IPSECCONFIG="etc/ipsec.conf.wit"
IPSECSECRETS="etc/ipsec.secrets.wit"
SWANCTLCONFIG="etc/swanctl/conf.d/wit-swanctl.conf"
SYSCTLTWEAKS="etc/sysctl.d/10-frr.conf"
DOMAINNAME=$(hostname -d)
@ -376,7 +377,7 @@ case "$1" in
systemctl restart ssh
systemctl reload strongswan || true ## in case we kick-start or done have it enabled for some reason
sysctl -p files/10-frr.conf
sysctl -p $SYSCTLTWEAKS
## END services section