Commit 2aa50676 authored by Martin Peres's avatar Martin Peres
Browse files

README: emphasize the name of the command line options

parent 510a76cf
......@@ -45,18 +45,18 @@ that needs to be executed. In `grub.cfg`, this could look like this:
Here is a list of options:
* b2c.container: Command line of a container to be executed at boot.
* **b2c.container**: Command line of a container to be executed at boot.
Format: See [podman's image format](https://docs.podman.io/en/latest/markdown/podman-run.1.html#image).
If you set this parameter multiple times, the containers will be executed one
after the other, in the same order as they are specified, as long as the
containers exit with the error code 0. Examples:
* b2c.container=docker://registry.hub.docker.com/library/hello-world
* b2c.container="-ti docker://registry.hub.docker.com/library/alpine:latest /bin/sh"
* b2c.post_container: Command line of a container to be executed *after* all
* **b2c.post_container**: Command line of a container to be executed *after* all
the `b2c.containers`, no matter how the previous container exited. This
parameter can be repeated multiple times. See `b2c.container` for the command
line format.
* b2c.cache_device: Use a cache to store the image layers, thus saving on network usage:
* **b2c.cache_device**: Use a cache to store the image layers, thus saving on network usage:
* none (default): Do not use any cache, guaranteeing a fresh environment every time
* auto: Re-use a previously-setup drive, or pick a suitable one, and partition it! (**WILL ERASE YOUR DATA**)
* /dev/XXX: A path to a block device, or a partition. If the path is to a block device and it does not have a partition labeled `B2C_CACHE`, it will recreate the partition table and format the partition. If the path is to a partition, it will use it directly if it is labeled `B2C_CACHE`, otherwise it will reformat it. (**WILL ERASE YOUR DATA**)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment