mirror of
https://github.com/coreos/fedora-coreos-config.git
synced 2026-11-03 14:49:47 -09:00
rpm-ostreed: use env var rather than bind mounting
Rather than using a bind mount so that rpm-ostreed has the correct containers policy, we can use the CONTAINERS_POLICY_JSON environment variable.
This commit is contained in:
parent
32ad171704
commit
90eeb04bfd
1 changed files with 3 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# Bind mount in our containers policy.json that configures
|
||||
# how to do signature verification for quay.io/fedora/fedora-coreos
|
||||
# Point rpm-ostree at our containers policy.json that configures
|
||||
# container image signature verification
|
||||
# Remove this override with:
|
||||
# mkdir /etc/systemd/system/rpm-ostreed.service.d
|
||||
# ln -s /dev/null /etc/systemd/system/rpm-ostreed.service.d/coreos-containers-policy.conf
|
||||
[Service]
|
||||
BindReadOnlyPaths=/usr/lib/coreos/coreos-containers-policy.json:/etc/containers/policy.json
|
||||
Environment=CONTAINERS_POLICY_JSON=/usr/lib/coreos/coreos-containers-policy.json
|
||||
|
|
|
|||
Loading…
Reference in a new issue