Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Kristian Klausen
arch-boxes
Commits
30cac6dc
Commit
30cac6dc
authored
May 27, 2022
by
Kristian Klausen
🎉
Browse files
cloud serial test
parent
34842c6f
Pipeline
#19424
passed with stages
in 9 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
images/cloud-image.sh
View file @
30cac6dc
...
...
@@ -9,7 +9,10 @@ PACKAGES=(cloud-init cloud-guest-utils)
SERVICES
=(
cloud-init-local.service cloud-init.service cloud-config.service cloud-final.service
)
function
pre
()
{
true
sed
-Ei
's/^(GRUB_CMDLINE_LINUX_DEFAULT=.*)"$/\1 console=tty0 console=ttyS0,115200"/'
"
${
MOUNT
}
/etc/default/grub"
echo
'GRUB_TERMINAL="serial console"'
>>
"
${
MOUNT
}
/etc/default/grub"
echo
'GRUB_SERIAL_COMMAND="serial --speed=115200"'
>>
"
${
MOUNT
}
/etc/default/grub"
arch-chroot
"
${
MOUNT
}
"
/usr/bin/grub-mkconfig
-o
/boot/grub/grub.cfg
}
function
post
()
{
...
...
Kristian Klausen
🎉
@klausenbusk
mentioned in issue
archlinux/arch-boxes#129 (closed)
·
May 27, 2022
mentioned in issue
archlinux/arch-boxes#129 (closed)
mentioned in issue archlinux/arch-boxes#129
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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