From a42c99e877995b72d4bef4f9af80996669511923 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Mon, 16 Mar 2020 12:15:58 -0400 Subject: [PATCH] image.yaml: enable sysroot-readonly We want to use the new read-only `/sysroot` feature of libostree. Opt-in to that to tell cosa we support it and want it. For more details, see: https://github.com/ostreedev/ostree/issues/1265 https://github.com/coreos/coreos-assembler/pull/1235 --- image.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/image.yaml b/image.yaml index 48fc3fbd9a..3eed6c7c47 100644 --- a/image.yaml +++ b/image.yaml @@ -13,6 +13,10 @@ extra-kargs: # Optional remote by which to prefix the deployed OSTree ref ostree-remote: fedora +# We want read-only /sysroot to protect from unintentional damage. +# https://github.com/ostreedev/ostree/issues/1265 +sysroot-readonly: true + # After this, we plan to add support for the Ignition # storage/filesystems sections. (Although one can do # that on boot as well)