fedora-coreos-config icon indicating copy to clipboard operation
fedora-coreos-config copied to clipboard

05core: create top-level user symlinks on first boot

Open jlebon opened this issue 2 years ago • 2 comments

With this, users can specify an Ignition config like

variant: fcos
version: 1.4.0
storage:
  files:
    - path: /etc/ostree/config.d/01-foobar.conf
      contents:
        inline: |
          [toplevel-links]
          foobar=/var/foobar

and on first boot, a /foobar symlink will be created.

Requires: https://github.com/ostreedev/ostree/pull/2681 Related: https://github.com/coreos/rpm-ostree/issues/337

jlebon avatar Jul 29 '22 22:07 jlebon

With this, users can specify an Ignition config like

You can see a more complete demo of this in https://github.com/ostreedev/ostree/pull/2681.

jlebon avatar Jul 29 '22 22:07 jlebon

Should we have Butane sugar for the [toplevel-links] section?

bgilbert avatar Aug 05 '22 03:08 bgilbert

https://github.com/ostreedev/ostree/pull/2681#issuecomment-2138106566

jlebon avatar May 29 '24 19:05 jlebon