Make grub timeout configurable and set to 0
There are situations where it is possible for grub to get stuck waiting for user input, e.g. if no keyboard is connected or if there is any other keypress during the grub menu countdown. Changing the timeout to 0 prevents this. This is also made into a configurable parameter in case someone needs to use a non-zero value for troubleshooting. This only applies to the ephemeral ISO. Change-Id: I34848b7fc56c5698fd3c408bf82ace53e5366d13
This commit is contained in:
parent
942ca33a53
commit
c5961decad
@ -4,3 +4,4 @@ root_image: build
|
|||||||
mksquashfs_compression: lz4
|
mksquashfs_compression: lz4
|
||||||
mksquashfs_threads: "{{ ansible_processor_vcpus }}"
|
mksquashfs_threads: "{{ ansible_processor_vcpus }}"
|
||||||
squashfs_timeout: 120
|
squashfs_timeout: 120
|
||||||
|
grub_menu_timeout: 0
|
||||||
|
@ -3,7 +3,7 @@ search --set=root --file /AIRSHIP
|
|||||||
insmod all_video
|
insmod all_video
|
||||||
|
|
||||||
set default="0"
|
set default="0"
|
||||||
set timeout=1
|
set timeout={{ grub_menu_timeout }}
|
||||||
|
|
||||||
menuentry "Airship Ephemeral" {
|
menuentry "Airship Ephemeral" {
|
||||||
linux /boot/vmlinuz boot=live quiet nomodeset overlay-size=70% systemd.unified_cgroup_hierarchy=0 ds=ConfigDrive console=ttyS0 console=tty0
|
linux /boot/vmlinuz boot=live quiet nomodeset overlay-size=70% systemd.unified_cgroup_hierarchy=0 ds=ConfigDrive console=ttyS0 console=tty0
|
||||||
|
Loading…
Reference in New Issue
Block a user