almost working ... files are installed correctly, variables not replacing correctly yet

This commit is contained in:
root 2018-07-27 18:57:47 +00:00
parent 214ea903fc
commit ce140aaa2f
3 changed files with 1 additions and 3 deletions

View File

@ -1 +0,0 @@
/etc/frr/frr.conf.wit

View File

@ -11,4 +11,3 @@ files/qemu-ifup-public etc/libvirt/hooks
files/qemu-ifup etc/libvirt/hooks
files/firewall etc/init.d
files/interfaces etc/network
files/frr.conf.wit /etc/frr

View File

@ -1,4 +1,4 @@
/etc/systemd/timesyncd.conf.wit sed -e 's/#NTP=.*/NTP=ipv6.ntp.ubuntu.com/g'
/etc/bash.bashrc.wit sed -e '/.*bashrc-witaddon.*/d' -e '$ s/$/\nsource \/etc\/bashrc-witaddon/'
/etc/frr/daemons.wit sed -e 's/bgpd=no/bgpd=yes/' -e 's/zebra=no/zebra=yes/'
/etc/frr/frr.conf.wit sed -e "s/VTEPINDEX/$NODE_ID/" -e "s/TIERID/$TIER_ID/" -e "s/NODEASN/$NODE_ASN/"
/etc/frr/frr.conf.wit <files/frr.conf.wit sed -e "s/VTEPINDEX/$NODE_ID/" -e "s/TIERID/$TIER_ID/" -e "s/NODEASN/$NODE_ASN/"