From ffdfaa74100615713d2f99f66f0d6a4da703272d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20M=C3=ADchal?= Date: Thu, 8 Jul 2021 15:30:43 +0200 Subject: [PATCH] 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 --- data/config/meson.build | 4 ++++ data/config/toolbox.conf | 17 +++++++++++++++++ data/meson.build | 1 + 3 files changed, 22 insertions(+) create mode 100644 data/config/meson.build create mode 100644 data/config/toolbox.conf diff --git a/data/config/meson.build b/data/config/meson.build new file mode 100644 index 0000000..a187df8 --- /dev/null +++ b/data/config/meson.build @@ -0,0 +1,4 @@ +install_data( + 'toolbox.conf', + install_dir: join_paths(get_option('sysconfdir'), 'containers'), +) diff --git a/data/config/toolbox.conf b/data/config/toolbox.conf new file mode 100644 index 0000000..67cbeaa --- /dev/null +++ b/data/config/toolbox.conf @@ -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" diff --git a/data/meson.build b/data/meson.build index 2469730..18223dd 100644 --- a/data/meson.build +++ b/data/meson.build @@ -1 +1,2 @@ +subdir('config') subdir('tmpfiles.d')