summaryrefslogtreecommitdiffstats
path: root/recipes-containers/container-host-config
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-containers/container-host-config')
-rw-r--r--recipes-containers/container-host-config/container-host-config.bb8
-rw-r--r--recipes-containers/container-host-config/container-host-config/registries.conf2
2 files changed, 6 insertions, 4 deletions
diff --git a/recipes-containers/container-host-config/container-host-config.bb b/recipes-containers/container-host-config/container-host-config.bb
index 80abddf0..dc0ae201 100644
--- a/recipes-containers/container-host-config/container-host-config.bb
+++ b/recipes-containers/container-host-config/container-host-config.bb
@@ -11,12 +11,14 @@ SRC_URI = " \
11 file://policy.json \ 11 file://policy.json \
12" 12"
13 13
14S = "${UNPACKDIR}"
15
14do_install() { 16do_install() {
15 install -d ${D}/${sysconfdir}/containers 17 install -d ${D}/${sysconfdir}/containers
16 18
17 install ${WORKDIR}/storage.conf ${D}/${sysconfdir}/containers/storage.conf 19 install ${UNPACKDIR}/storage.conf ${D}/${sysconfdir}/containers/storage.conf
18 install ${WORKDIR}/registries.conf ${D}/${sysconfdir}/containers/registries.conf 20 install ${UNPACKDIR}/registries.conf ${D}/${sysconfdir}/containers/registries.conf
19 install ${WORKDIR}/policy.json ${D}/${sysconfdir}/containers/policy.json 21 install ${UNPACKDIR}/policy.json ${D}/${sysconfdir}/containers/policy.json
20} 22}
21 23
22BBCLASSEXTEND = "native nativesdk" 24BBCLASSEXTEND = "native nativesdk"
diff --git a/recipes-containers/container-host-config/container-host-config/registries.conf b/recipes-containers/container-host-config/container-host-config/registries.conf
index ba6c3f6e..926d8c36 100644
--- a/recipes-containers/container-host-config/container-host-config/registries.conf
+++ b/recipes-containers/container-host-config/container-host-config/registries.conf
@@ -9,7 +9,7 @@
9# and 'registries.block'. 9# and 'registries.block'.
10 10
11[registries.search] 11[registries.search]
12registries = ['docker.io', 'registry.fedoraproject.org', 'quay.io', 'registry.access.redhat.com', 'registry.centos.org'] 12registries = ['docker.io', 'registry.fedoraproject.org', 'quay.io', 'registry.access.redhat.com']
13 13
14# If you need to access insecure registries, add the registry's fully-qualified name. 14# If you need to access insecure registries, add the registry's fully-qualified name.
15# An insecure registry is one that does not have a valid SSL certificate or only does HTTP. 15# An insecure registry is one that does not have a valid SSL certificate or only does HTTP.