server: delete the initrd but not initrd.img symlink

The initrd is recreated later.  Leave the symlink.
This commit is contained in:
Dan Bungert 2025-03-10 14:54:14 -06:00
parent a768818bea
commit b79160bf08

View File

@ -20,7 +20,7 @@ case $PASS in
ubuntu-server-minimal.ubuntu-server.installer.*) ubuntu-server-minimal.ubuntu-server.installer.*)
;; ;;
*) *)
rm -f /boot/initrd.img* rm -f /boot/initrd.img-*
exit 0 exit 0
;; ;;
esac esac