Skip to content

Commit

Permalink
image.yaml: enable sysroot-readonly
Browse files Browse the repository at this point in the history
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:
ostreedev/ostree#1265
coreos/coreos-assembler#1235
  • Loading branch information
jlebon authored and ashcrow committed May 18, 2020
1 parent ebbc383 commit 5b26609
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5b26609

Please sign in to comment.