Commit graph

18 commits

Author SHA1 Message Date
Dusty Mabe
7bc8ff2c0b live: update readme with more accurate comment
This changed slightly in https://github.com/coreos/coreos-assembler/pull/3846
and we are now using it from this new location when building
live media using OSBuild https://github.com/osbuild/osbuild/pull/1947
2024-12-13 17:54:37 -05:00
Timothée Ravier
c0aea3baa2 *: Remove whitespace at EOL 2022-09-12 07:29:51 +00:00
Benjamin Gilbert
38e5f0c716 live/grub.cfg: update incorrect comment
This file is shipped in the ISO itself, and efiboot.img contains a stub
config that points to it.
2021-09-16 13:24:58 -04:00
Benjamin Gilbert
346f77036f live: move kernel/initramfs and rename initramfs
It seems to be conventional in Fedora/RHEL to put the kernel in
/images/pxeboot/vmlinuz and the initramfs in /images/pxeboot/initrd.img.

Requires matching coreos-assembler buildextend-installer changes.
2020-08-07 21:23:31 -04:00
Benjamin Gilbert
2ea5eba186 live: append separate Ignition padding initrd
This allows the user to extract a pristine initrd image without
unnecessary padding.
2020-08-07 21:23:31 -04:00
Jonathan Lebon
e02c2130f9 live: add karg embed areas in GRUB/ISOLINUX configs
This provides a buffer into which `coreos-installer iso embed-kargs` can
write additional kernel arguments for the live ISO. It must be located
right after the karg line in configuration files.

Note this doesn't touch `zipl.prm`, which is where ISO kernel args are
stored for s390x. Supporting this for s390x would need more
investigation and testing.
2020-08-06 16:57:53 -04:00
Dusty Mabe
2d886856a4 Revert "live: remove serial line from isolinux.cfg"
This reverts commit 0f1183e9cc.

Apparently removing the serial line means that we no longer get serial
console on a VM when doing something like `virt-install --graphics=none`.
Let's revert this change for now (i.e. go back to how it was before) and
make a subsequent change in the future that tries to handle all cases
better.
2020-06-02 15:47:25 -04:00
Dusty Mabe
0f1183e9cc live: remove serial line from isolinux.cfg
When testing out installing FCOS on a new mini PC that only contains
a serial port (no graphical console) I noticed the isolinux menu wasn't
displaying correctly. I compared this with the Fedora Workstation and
Fedora Server configs and neither of those have the `serial 0` line in
them and the isolinux menu shows up fine via serial console there.

Let's remove it since it seems like serial auto-detection works better
than the `0` setting, which is actively causing some consoles to not
work.

Fixes: https://github.com/coreos/fedora-coreos-tracker/issues/506
2020-05-29 12:39:35 -04:00
Dusty Mabe
77477df153 overlay/live: support booting from live ISO without networking
There is a scenario where the user wants to configure networking
after they get to the interactive bash prompt. Let's support this.

Fixes https://github.com/coreos/fedora-coreos-tracker/issues/349
2020-04-03 12:54:34 -04:00
Dusty Mabe
d6bc990b2f Live ISO: extend boot prompt timeout to 5 seconds
At 1 second it's almost impossible to catch the boot prompt if you need
to change the kernel command line parameters. Let's extend it to 5 seconds
so users have a fighting chance to catch the prompt.
2020-02-07 17:01:49 -05:00
Colin Walters
cac303b548 Switch to coreos.liveiso= karg
Requires https://github.com/coreos/coreos-assembler/pull/927

Prep for supporting a `fulliso` build that requires locating
the ISO.  Also drops some copy-paste between the different bootloaders.
2019-12-02 15:55:40 -05:00
Benjamin Gilbert
2ee95eba30 {installer,live}: drop unneeded execute permissions 2019-09-24 12:12:13 -04:00
Benjamin Gilbert
85af228dcb live: add substitution variable for kernel arguments
Let cosa substitute mitigations=auto,nosmt rather than hardcoding it
ourselves.
2019-09-24 12:12:13 -04:00
Benjamin Gilbert
0d0483b944 {installer,live}: rename README
cosa buildextend-installer will now prevent README-devel.md from being
copied into the image.
2019-09-19 12:40:10 -04:00
Benjamin Gilbert
0298450e79 05core: automatically log in on console, only when booted from ISO
Automatic login is insecure and we don't want to encourage its use.
However, the live ISO image is an exception.  The ISO image is more
useful for casual experimentation and for running coreos-installer if
a shell is readily available.  Conversely, passing an Ignition config
to the ISO requires manually modifying the kernel command line, so the
ISO is unlikely to be run in production.

Automatically log in on the graphical console when both a) booted
from a live image, and b) the kernel argument `iso` is supplied.
Modify live ISO bootloader configs to pass the argument.
2019-09-19 12:40:10 -04:00
Benjamin Gilbert
d1b0415b80 live: add mitigations=auto,smt karg
We enable it in non-live builds.
2019-09-16 15:57:13 -04:00
Benjamin Gilbert
0889977f99 live: update for live images
- Change labels
- Use short bootloader timeout
- Disable installer
- Enable Ignition, defaulting to metal platform
- Drop nomodeset karg
2019-09-16 15:57:13 -04:00
Benjamin Gilbert
9d8f4d7785 live: copy boot files from installer 2019-09-16 15:57:13 -04:00