[OpenWrt-Devel] Configuration management for OpenWrt
mail at aparcar.org
Wed Apr 8 17:07:42 EDT 2020
I was wondering if there are some best practices for configuration
management of OpenWrt devices. I understand that it is fairly easy to
get/restore a backup of the etc/config folder, but though maybe there
are some smarter ways.
Ideally a local state (e.g. git repository) would deploy multiple
devices and automatically update them via a command (or even cron).
Other projects came up with solutions which seem to heavy for common
WiFi routers. Ansible is great and all, however requires plenty of
Python to work conveniently. Then cloud-init is Python as well, I
think even heavier on the client side than Ansible and also doesn't
seem to be the right use case.
Some time ago I came up with a MAC based init system but that's not
really to keep things up to date.
Last thing I know of is the approach to convert folders into opkg
install-able packages, so whenever there is a new configuration all
pre-configured routers would install it via opkg. However this would
require an opkg cron on client device and building the config-packages
appear to be quite some overhead. On the other side it handles
authentication via usign keys.
Anyway, please recommend me a better way which I'm not aware of!
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel