Skip to content

Commit

Permalink
Use deploy-via-container
Browse files Browse the repository at this point in the history
This will cause us to run through the ostree-native container
stack when generating the disk images.

Today for RHCOS we're using the "custom origin" stuff which
lets us inject metadata about the built source, but rpm-ostree
doesn't understand it.

With this in the future (particularly after coreos/coreos-assembler#2685)
`rpm-ostree status` will show the booted container and *understand it*.

We'll have the digest of the OCI archive at least...though
that may get changed if it gets converted to docker v2s2 when pushing
to a registry...

Now in the future what we want is to entirely rework our build
pipeline like this: coreos/coreos-assembler#2685
  • Loading branch information
cgwalters committed Jul 27, 2023
1 parent f928bed commit 160e7e2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions image-c9s.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# See https://github.com/coreos/coreos-assembler/pull/298
size: 16

# We default to a container image
deploy-via-container: true

# Disable networking by default on firstboot. We can drop this once cosa stops
# defaulting to `ip=dhcp,dhcp6 rd.neednet=1` when it doesn't see this key.
ignition-network-kcmdline: []
Expand Down
3 changes: 3 additions & 0 deletions image-rhel-9.2.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# See https://github.com/coreos/coreos-assembler/pull/298
size: 16

# We default to a container image
deploy-via-container: true

# Disable networking by default on firstboot. We can drop this once cosa stops
# defaulting to `ip=dhcp,dhcp6 rd.neednet=1` when it doesn't see this key.
ignition-network-kcmdline: []
Expand Down

0 comments on commit 160e7e2

Please sign in to comment.