Skip to content

initscript: introduce new b2c.run* options, and deprecate b2c.container

Martin Roukala requested to merge b2c_run into master

The container options' names are confusing: They suggest the expected values would be container images, when they actually are podman run command lines!

It was however not always the case. Boot2container used to have its own container engine, until I figured out a way to make podman small-enough to fit in an initramfs! The poor option name, however, remained :s

Let's fix this now by following more closely the terminology of podman, since it is a very famous container tool and we probably will have to keep using it in the future for backwards compatibility.

Here are the changes:

  • b2c.container --> b2c.run
  • b2c.post_container --> b2c.run_post
  • b2c.service --> b2c.run_service

Merge request reports

Loading