Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
9628615d
Commit
9628615d
authored
Jan 13, 2023
by
Jonas Kaufmann
Committed by
Antoine Kaufmann
May 09, 2023
Browse files
images/base: set init kernel parameter to run experiment code by default
parent
290d8328
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
images/scripts/install-base.sh
images/scripts/install-base.sh
+3
-0
No files found.
images/scripts/install-base.sh
View file @
9628615d
...
@@ -21,6 +21,9 @@ mv guestinit.sh /home/ubuntu/guestinit.sh
...
@@ -21,6 +21,9 @@ 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
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
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment