Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions hummingbird-qcow2
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM quay.io/hummingbird-ci/bootc-os:latest

ARG TARGETARCH

# The hummingbird repositories do not contain all dependencies for
# cloud-init at this point in time.
RUN dnf install -y fedora-repos

RUN dnf install -y \
cloud-init \
&& dnf clean all

COPY qcow2-${TARGETARCH}/usr/ /usr/
COPY hummingbird-qcow2-${TARGETARCH}/usr/ /usr/

COPY hummingbird-qcow2 /root/Containerfile

RUN systemctl preset-all

# regenerate host keys, they're not present in the base image for some reason
RUN ssh-keygen -A
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[install.filesystem.root]
type = "ext4"
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
enable cloud-init-local.service
enable cloud-init-main.service
enable cloud-init-network.service
enable cloud-config.service
enable cloud-final.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[install.filesystem.root]
type = "ext4"
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
enable cloud-init-local.service
enable cloud-init-main.service
enable cloud-init-network.service
enable cloud-config.service
enable cloud-final.service
Comment thread
croissanne marked this conversation as resolved.
Loading