adding first steps for dhcp-loopback support and vcs info in control
This commit is contained in:
parent
b8368a446f
commit
e8a00a6adf
|
@ -4,6 +4,8 @@ Priority: extra
|
|||
Maintainer: toby <toby@wit.com>
|
||||
Build-Depends: debhelper (>= 7.0.0~), config-package-dev (>= 4.15)
|
||||
Standards-Version: 3.9.2
|
||||
Vcs-Browser: https://git.wit.com/netops/wit-network-config
|
||||
Vcs-Git: https://git.wit.com/netops/wit-network-config
|
||||
|
||||
Package: wit-hypervisor-config
|
||||
Architecture: all
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/etc/systemd/timesyncd.conf.wit sed -e 's/#NTP=.*/NTP=ipv6.ntp.ubuntu.com/g'
|
||||
/etc/frr/daemons.wit sed -e 's/bgpd=no/bgpd=yes/' -e 's/zebra=no/zebra=yes/'
|
||||
/etc/bash.bashrc.wit sed -e 's/.*witaddon/source \/etc\/bashrc-witaddon/; t; $ s/$/\nsource \/etc\/bashrc-witaddon/'
|
||||
/etc/dhcp/dhclient.conf.wit sed -e '/option.*loopback/d;t;1s/^/option loopback code 225 = ip-address;\n/'
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ ! -z $new_loopback ]; then
|
||||
sed -ie '/^LOOPBACK=.*/d' /etc/environment
|
||||
echo "LOOPBACK=$new_loopback" >>/etc/environment
|
||||
fi
|
Loading…
Reference in New Issue