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
6eb64485
Commit
6eb64485
authored
Jan 23, 2023
by
Jonas Kaufmann
Committed by
Antoine Kaufmann
May 09, 2023
Browse files
images/base: skip grub menu
parent
9628615d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
images/scripts/install-base.sh
images/scripts/install-base.sh
+6
-2
No files found.
images/scripts/install-base.sh
View file @
6eb64485
...
...
@@ -21,9 +21,13 @@ mv guestinit.sh /home/ubuntu/guestinit.sh
mv
bzImage /boot/vmlinuz-5.15.93
mv
config-5.15.93 /boot/
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 "
\
"init=/home/ubuntu/guestinit.sh rw
\"
"
\
>>
/etc/default/grub.d/50-cloudimg-settings.cfg
"init=/home/ubuntu/guestinit.sh rw
\"
"
>>
$GRUB_CFG_FILE
update-grub
# 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