Commit fd1accc
authored
Enable serial console and 1s timeout in azl4 grub defaults (#793)
The Azure Linux 4.0 vm-base image (built with kiwi) boots with a serial
console grub menu and a 1-second timeout. This updates the
image-customizer azl4 `/etc/default/grub` asset to match, so images
produced by the customizer share the same serial-console boot behavior
as stock AZL4 images.
| Setting | Before | After |
|---|---|---|
| `GRUB_CMDLINE_LINUX_DEFAULT` | `console=ttyS0 rd.shell=0` |
`console=ttyS0 earlyprintk=ttyS0 rd.shell=0` |
| `GRUB_TERMINAL_INPUT` | `console` | `serial` |
| `GRUB_TERMINAL_OUTPUT` | `gfxterm` | `serial` |
| `GRUB_TIMEOUT` | `0` | `1` |
These mirror microsoft/azurelinux `base/images/vm-base/vm-base.kiwi`,
where each setting was introduced by:
- earlyprintk: microsoft/azurelinux#17026
- `GRUB_TERMINAL_INPUT` and `GRUB_TERMINAL_OUTPUT` (kiwi
`console="serial"`): microsoft/azurelinux#16880
- `GRUB_TIMEOUT` (kiwi `timeout="1"`): microsoft/azurelinux#169371 parent 4901c2a commit fd1accc
1 file changed
Lines changed: 4 additions & 4 deletions
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
0 commit comments