Set Grub timeout to 0 for fast boot times

The default Grub timeout is 5 set by the bootloader element. Setting
timeout to zero helps reduce boot times.

Change-Id: I82d877a41d7339891a388e26d149fd65cb61c727
This commit is contained in:
Carlos Goncalves 2020-08-12 13:00:24 +02:00
parent aa52cb39ca
commit 611af6008a
1 changed files with 3 additions and 0 deletions

View File

@ -477,6 +477,9 @@ if [ "$DIB_LOCAL_ELEMENTS" ]; then
AMP_element_sequence="$AMP_element_sequence $DIB_LOCAL_ELEMENTS"
fi
# Set Grub timeout to 0 (no timeout) for fast boot times
export DIB_GRUB_TIMEOUT=${DIB_GRUB_TIMEOUT:-0}
# Build the image
export DIB_CLOUD_INIT_DATASOURCES=$CLOUD_INIT_DATASOURCES