Commit 6eb64485 authored by Jonas Kaufmann's avatar Jonas Kaufmann Committed by Antoine Kaufmann
Browse files

images/base: skip grub menu

parent 9628615d
...@@ -21,9 +21,13 @@ mv guestinit.sh /home/ubuntu/guestinit.sh ...@@ -21,9 +21,13 @@ mv guestinit.sh /home/ubuntu/guestinit.sh
mv bzImage /boot/vmlinuz-5.15.93 mv bzImage /boot/vmlinuz-5.15.93
mv config-5.15.93 /boot/ mv config-5.15.93 /boot/
mv m5 /sbin/m5 mv m5 /sbin/m5
GRUB_CFG_FILE=/etc/default/grub.d/50-cloudimg-settings.cfg
echo 'GRUB_DISABLE_OS_PROBER=true' >> $GRUB_CFG_FILE
echo 'GRUB_HIDDEN_TIMEOUT=0' >> $GRUB_CFG_FILE
echo 'GRUB_TIMEOUT=0' >> $GRUB_CFG_FILE
echo "GRUB_CMDLINE_LINUX_DEFAULT=\"console=tty1 console=ttyS0 " \ echo "GRUB_CMDLINE_LINUX_DEFAULT=\"console=tty1 console=ttyS0 " \
"init=/home/ubuntu/guestinit.sh rw\"" \ "init=/home/ubuntu/guestinit.sh rw\"" >> $GRUB_CFG_FILE
>> /etc/default/grub.d/50-cloudimg-settings.cfg
update-grub update-grub
# with stupid ubuntu22 /lib is a symlink at which point just untaring to / will # with stupid ubuntu22 /lib is a symlink at which point just untaring to / will
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment