data/config: Add reference configuration file

The file format is TOML[0] but the file extension is .conf to follow the
convention set by Podman.

https://github.com/containers/toolbox/pull/828
https://github.com/containers/toolbox/pull/851
This commit is contained in:
Ondřej Míchal 2021-07-08 15:30:43 +02:00 committed by Debarshi Ray
parent 5824f0adcb
commit ffdfaa7410
3 changed files with 22 additions and 0 deletions

4
data/config/meson.build Normal file
View File

@ -0,0 +1,4 @@
install_data(
'toolbox.conf',
install_dir: join_paths(get_option('sysconfdir'), 'containers'),
)

17
data/config/toolbox.conf Normal file
View File

@ -0,0 +1,17 @@
[general]
# Create a toolbox container for a different operating system distro than the
# host. Cannot be used with 'image'.
## distro = "fedora"
# Create a toolbox container for a different operating system release than the
# host. Cannot be used with 'image'.
## release = "33"
# Change the name of the image used to create the toolbox container. This is
# useful for creating containers from custom-built images. Cannot be used with
# 'distro' or 'release'.
#
# If the name does not contain a registry, the local image storage will be
# consulted, and if it's not present there then it will be pulled from a
# suitable remote registry.
## image = "registry.fedoraproject.org/fedora-toolbox:34"

View File

@ -1 +1,2 @@
subdir('config')
subdir('tmpfiles.d')