Commit Graph

11 Commits

Author SHA1 Message Date
Joel Elkins 070394fae1
Add colorized output for ls subcommand
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.
2024-03-03 14:15:46 -06:00
Joel Elkins 13e35e9c4d
Update deps. libpod is quite annoying in not following semver
Had to pull @head on several packages
2024-02-22 21:55:30 -06:00
Joel Elkins 9740f61e81
Add nsupdate command
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
2023-12-17 11:51:43 -06:00
Joel Elkins 05e011f76f
Update deps 2023-12-08 13:35:27 -06:00
Joel Elkins 05cc9bc27e
Update deps. Had to dial in the correct x/exp by hand 2023-08-07 22:40:00 -05:00
Joel Elkins 226c2bdab5
Upgrade deps 2023-02-07 18:45:06 -06:00
Joel Elkins 48b6ee2b52
Update dependencies 2022-10-08 01:33:00 -05:00
Joel Elkins 7a42607a1a
Update deps 2022-08-18 22:28:59 -05:00
Joel Elkins b758f04a50 Migrate to podman API rather than cli
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.
2022-07-25 10:13:36 -05:00
Joel Elkins 61b7fe55a0 Convert project structure to cobra; many other changes. WIP.
- Factor out various components to different packages
- Add abstract command package to allow for calling go funcs etc. at
  runtime.
2022-07-18 10:10:24 -05:00
Joel Elkins 0049fb818c Initial commit 2022-07-14 13:52:28 -05:00