Hi Vagrant, On Thu, 03 Jun 2021 16:01:46 -0700 Vagrant Cascadian <[email protected]> wrote: > bdebstrap is a nice way to pass complicated commands to mmdebstrap, > thanks!
Thanks. It's nice to see that someone else is using bdebstrap (or at least trying to use it). > There appears to be no way to disable the "-v" argument passed to > mmdebstrap. The reason is trivial: Because it was my preference to have the verbose mode and because we often build the images using a CI pipeline (where you want to have verbose logs). So initial there were no need for dropping it. > While I can see value in increased verbosity in some situations, it > would be nice to be able to get mmdebstrap's simple and minimal progress > bar output while still using bdebstrap for the configuration and other > features it provides. > > Simply removing the "-v" argument in /usr/bin/bdebstrap appears to work > fine, though obviously people who want the increased verbosity will need > to add it back somehow. I thought about it. bdebstrap produces some log messages as well. Do you want to tweak the verbosity of mmdebstrap and bdebstrap separately? One simple change would be to couple the verbosity of bdebstrap and mmdebstrap: * normal mode: uses info level and pass -v to mmdebstrap * --debug: uses debug level and pass -v to mmdebstrap * --quiet: use warning level and don't pass -v to mmdebstrap I have implemented that in the quiet branch for testing it: https://github.com/bdrung/bdebstrap/tree/quiet What do you think? -- Benjamin Drung Senior DevOps Engineer and Debian & Ubuntu Developer Compute Platform Operations 1&1 IONOS SE | Greifswalder Str. 207 | 10405 Berlin | Deutschland E-Mail: [email protected] | Web: www.ionos.de Hauptsitz Montabaur, Amtsgericht Montabaur, HRB 24498 Vorstand: Hüseyin Dogan, Dr. Martin Endreß, Claudia Frese, Henning Kettler, Arthur Mai, Matthias Steinberg, Achim Weiß Aufsichtsratsvorsitzender: Markus Kadelke Member of United Internet

