Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
cloud: Add console kargs
Browse files Browse the repository at this point in the history
This is important for debugging things.

Signed-off-by: Colin Walters <[email protected]>
  • Loading branch information
cgwalters committed Nov 14, 2023
1 parent 665b63b commit ab94fc3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions fedora-boot-cloud/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ FROM quay.io/centos-boot/fedora-tier-1-dev:eln
RUN dnf -y install cloud-init && \
ln -s ../cloud-init.target /usr/lib/systemd/system/default.target.wants && \
rm /var/log/*.log /var/lib/dnf -rf && ostree container commit
COPY usr usr
5 changes: 5 additions & 0 deletions fedora-boot-cloud/usr/lib/bootc/install/05-cloud-kargs.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[install]
# See also:
# - https://github.com/coreos/fedora-coreos-config/blob/testing-devel/platforms.yaml
# - https://github.com/osbuild/images/blob/63a1eead26a7c802dbcebe863439f591be6dc6e5/pkg/distro/rhel9/qcow2.go#L159
kargs = ["console=tty0", "console=ttyS0,115200n8"]

0 comments on commit ab94fc3

Please sign in to comment.