[Bug 280662] The jail command lacks the ability to dump only some jail configurations
Date: Tue, 06 Aug 2024 15:15:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280662 Bug ID: 280662 Summary: The jail command lacks the ability to dump only some jail configurations Product: Base System Version: 14.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: crest@rlwinm.de Created attachment 252563 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=252563&action=edit Add the ability to filter jail -e <sep> by jail names The existing jail [-f <conf>] -e <sep> command always dumps all parsed jail configurations to standard out and there is no better separator than the name= line to tell where one jail's configuration ends a new configuration begins. Together with multiline strings in jail.conf this is a problem that can't easily be scripted around. The attached patch adds the ability to only show the configuration of a selected list of jails. -- You are receiving this mail because: You are the assignee for the bug.