Re: rumprun-bake changes for command line commands

  • From: Martin Lucina <martin@xxxxxxxxxx>
  • To: rumpkernel-users@xxxxxxxxxxxxx
  • Date: Wed, 10 Feb 2016 11:28:29 +0100

On Tuesday, 09.02.2016 at 14:44, Antti Kantee wrote:

Hi,

Per recent discussion with David, it became clear that the ability to pass
rumprun-bake config directives on the command line is desirable (IIRC it was
already proposed in the discussion last year, but there was no strong use
case back then).  The new use case is genfs'd components.  Without command
line parameters, you have to create a config file, assimilate the config you
actually want (which, mind you, cannot be hardcoded since only the user
knows what it is), add the fs image, and pass that config via -c to
rumprun-bake, and potentially remove the config afterwards.  With command
line directives, it's a oneliner.

ISTR the original use case I proposed was exactly this (genfs), but we
didn't yet have genfs back then :-)

Notably, the old command line syntax for rumprun-bake does not change in
backwards-incompatible ways, but the config file format does.  I did not add
compat code to deal with the old format.  It should be possible if a large
number of people demand it, but I'd much rather just ride the "experimental"
tag we forgot to remove.  I doubt there are many (if any) custom config
format deployments at the time.

+1

Thoughts?  (LGTM is a good one, but others accepted too ;)

LGTM

-mato
 

Other related posts: