fixing sysctl tweak path
This commit is contained in:
parent
3003509bf4
commit
289b42e100
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue