grub: add noresume to kernel cmdline

Under R4.0, when Debian HVMs are created from the debian-9 template, they hang on boot for 30 seconds without this option.
This commit is contained in:
awokd 2018-06-26 05:02:34 -06:00
parent c4c28605c9
commit 6c965a6dac
No known key found for this signature in database
GPG Key ID: 11AB48E690421F3E

View File

@ -6,4 +6,7 @@ GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX root=/dev/mapper/dmroot console=hvc0 con
# make SWIOTLB smaller - it isn't really needed unless PCI passthrough is used,
# and even then, 16MB is enough
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX swiotlb=8192"
# add noresume - to avoid a 30 second hang on Debian HVM boot as it tries to
# locate swap space for hibernation
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX noresume"
GRUB_TIMEOUT=0