From ce140aaa2f5ba41bb0ab82f70db9ae63af804c75 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 27 Jul 2018 18:57:47 +0000 Subject: [PATCH] almost working ... files are installed correctly, variables not replacing correctly yet --- debian/wit-hypervisor.displace | 1 - debian/wit-hypervisor.install | 1 - debian/wit-hypervisor.transform | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 debian/wit-hypervisor.displace diff --git a/debian/wit-hypervisor.displace b/debian/wit-hypervisor.displace deleted file mode 100644 index 2058bc8..0000000 --- a/debian/wit-hypervisor.displace +++ /dev/null @@ -1 +0,0 @@ -/etc/frr/frr.conf.wit diff --git a/debian/wit-hypervisor.install b/debian/wit-hypervisor.install index 75df8d7..fa9d553 100644 --- a/debian/wit-hypervisor.install +++ b/debian/wit-hypervisor.install @@ -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 diff --git a/debian/wit-hypervisor.transform b/debian/wit-hypervisor.transform index 1e6dad2..26e2223 100644 --- a/debian/wit-hypervisor.transform +++ b/debian/wit-hypervisor.transform @@ -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