BIRD 2.0.8
Clemens Schrimpe
clemens.schrimpe at gmail.com
Wed Apr 14 21:29:14 CEST 2021
> The Debian package I have been using actually does put the configs in /etc/bird which makes sense, as it's basically a normal Debian in the eyes of the package.
>
>
You can make a package though, where everything lives under /config, preferably /config/opt - right?
Like I said: Not a good idea to have your routing-engine and -config wiped after a software update.
You can, however, put a "normal" BIRD install package into /config/data/firstboot/install-packages and have a script in /config/scripts/firstboot.d which may restore the config file (or a symlink to /config/bird.conf, which also survives the big culling). In that case the package gets re-installed early during the first boot after a FW update (and the script called).
If the BIRD distribution depends on other packages, those also need to go into /config/data/firstboot/install-packages.
And of course you need to have scripts updating the packages in /config/data/firstboot/install-packages, when you update them ...
-c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20210414/f1856c7a/attachment.htm>
More information about the Bird-users
mailing list