Skip to content

Commit

Permalink
image.yaml: enable sysroot-ro
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 committed Mar 16, 2020
1 parent 9d9c577 commit b759264
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 unintential damage.
# https://github.com/ostreedev/ostree/issues/1265
sysroot-ro: 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 b759264

Please sign in to comment.