You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM quay.io/flightctl/flightctl-agent-centos:bootstrap
ADD etc etc
RUN rm -rf /opt && \
mkdir -p /opt/crio
RUN dnf install -y microshift && \
systemctl enable microshift.service
RUN dnf install -y kernel-5.14.0-427.14.1.blue1.el9_4
ADD systemd-shutdown /usr/lib/systemd/
RUN rm -rf /opt && ln -s /var /opt
RUN [ ! -L /var/run ] && rm -rf /var/run && ln -s /run /var/
/etc contains a repo where the kernel RPM ( kernel-5.14.0-427.14.1.blue1.el9_4 ) is stored. The container image seems to be built successfully. This image is created to be the upgrade of a base one with a very simple Container file:
FROM quay.io/centos-bootc/centos-bootc:stream9
ADD etc etc
RUN dnf install -y flightctl-agent && \
systemctl enable flightctl-agent.service
## Add your flightctl configuration and certificates
ADD config.yaml /etc/flightctl/
ADD ca.crt /etc/flightctl/certs/
ADD client-enrollment.* /etc/flightctl/certs/
Using bootc upgrade, pulls the new image (the first Containerfile) and after reboot, I see the two ostree options in grub. However, the staged one that is booting now fails. If you enter in the kernel arguments, the initrd line is missing, and the boot partition does not contain the initramfs disk as it should.
I have the following Containerfile:
/etc contains a repo where the kernel RPM ( kernel-5.14.0-427.14.1.blue1.el9_4 ) is stored. The container image seems to be built successfully. This image is created to be the upgrade of a base one with a very simple Container file:
Using bootc upgrade, pulls the new image (the first Containerfile) and after reboot, I see the two ostree options in grub. However, the staged one that is booting now fails. If you enter in the kernel arguments, the initrd line is missing, and the boot partition does not contain the initramfs disk as it should.
The new custom Kernel RPM does have contain the ramdisk, and it can be installed in a standard RHEL with no issue.
Is there anything else we should add to the Containerfile? Is this a feature gap in bootc?
Thanks for your support!
The text was updated successfully, but these errors were encountered: