Skip to content

Commit

Permalink
micro-kvm-os: Remove preexisting initrd
Browse files Browse the repository at this point in the history
Signed-off-by: Klaus Kämpf <[email protected]>
  • Loading branch information
kkaempf authored and davidcassany committed Jun 7, 2024
1 parent 8261297 commit 8013a5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .obs/dockerfile/micro-kvm-os/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,6 @@ RUN rm -rf /var/log/update* && \
>/var/log/lastlog && \
rm -rf /boot/vmlinux*

# Rebuild initrd to setup dracut with the boot configurations
# Rebuild initrd to setup dracut with the boot configurations and remove pre-existing initrd from base image
RUN rm -fv /boot/elemental.initrd*
RUN elemental init --force elemental-rootfs,elemental-sysroot,grub-config,dracut-config,cloud-config-essentials,elemental-setup,boot-assessment

0 comments on commit 8013a5a

Please sign in to comment.