Initiative is turning into a little hackathon. Trying to beautify ls output
a little since the number of configured containers on my main server is
growing to a large number (currently 44). text/tabwriter can't handle
SGR codes correctly. Investigations led me to the "ansiterm" library. I'm not
crazy about the API really, but it handles all the corners I'm concerned
about.
Will send updates to the configured dns server. To accomodate, added a global options
section to the configuration as well.
TODO: per-container domain name, dns server, and tsig keys
Status: lightly tested development version, needs field testing
Large change greatly expanding the linked footprint of this little
utility, but it is much faster and adds a couple of very nice features:
- set container sysctl settings to disable router advertisements as part
of container definition. this means we no longer need to do this via
`ip netns exec <container> sysctl -w ...` (followed by
`ip netns exec ip -6 a flush...`). Major win.
- able to very quickly ascertain creation and run state of defined
containers.