From 993d5c413031ff1f4aaf26f52d46cfbbe308557d Mon Sep 17 00:00:00 2001 From: PeterNashaat Date: Wed, 7 Aug 2024 11:18:58 +0000 Subject: [PATCH] ubuntu 24 flist fix --- tfgrid3/ubuntu24.04/fullvm/ubuntu24-fullvm-flist-builder.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tfgrid3/ubuntu24.04/fullvm/ubuntu24-fullvm-flist-builder.sh b/tfgrid3/ubuntu24.04/fullvm/ubuntu24-fullvm-flist-builder.sh index a28e38c7..580b2e3d 100644 --- a/tfgrid3/ubuntu24.04/fullvm/ubuntu24-fullvm-flist-builder.sh +++ b/tfgrid3/ubuntu24.04/fullvm/ubuntu24-fullvm-flist-builder.sh @@ -34,6 +34,9 @@ cloud-init clean apt-get install linux-modules-extra-6.8.0-31-generic -y echo 'fs-virtiofs' >> /etc/initramfs-tools/modules update-initramfs -c -k all +update-initramfs -c -k 6.8.0-31-generic +ln -sf /boot/initrd.img-6.8.0-31-generic /boot/initrd.img +ln -sf /boot/vmlinuz-6.8.0-31-generic /boot/vmlinuz apt-get clean EOF @@ -68,4 +71,4 @@ if [ -z "$API_KEY" ]; then exit 2 fi -curl -X POST -H "Authorization: Bearer $API_KEY" -F "file=@ubuntu-24.04_fullvm.tar.gz" https://hub.grid.tf/api/flist/me/upload \ No newline at end of file +curl -X POST -H "Authorization: Bearer $API_KEY" -F "file=@ubuntu-24.04_fullvm.tar.gz" https://hub.grid.tf/api/flist/me/upload