Commit 9628615d authored by Jonas Kaufmann's avatar Jonas Kaufmann Committed by Antoine Kaufmann
Browse files

images/base: set init kernel parameter to run experiment code by default

parent 290d8328
......@@ -21,6 +21,9 @@ mv guestinit.sh /home/ubuntu/guestinit.sh
mv bzImage /boot/vmlinuz-5.15.93
mv config-5.15.93 /boot/
mv m5 /sbin/m5
echo "GRUB_CMDLINE_LINUX_DEFAULT=\"console=tty1 console=ttyS0 " \
"init=/home/ubuntu/guestinit.sh rw\"" \
>> /etc/default/grub.d/50-cloudimg-settings.cfg
update-grub
# 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