mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 09:50:37 +00:00
Enable SCSI block multiqueue for GCE Stretch images.
This commit is contained in:
parent
7af9cd9fb8
commit
c6a6a6e8b1
1 changed files with 4 additions and 0 deletions
|
@ -12,3 +12,7 @@ class ConfigureGrub(Task):
|
|||
def run(cls, info):
|
||||
info.grub_config['GRUB_CMDLINE_LINUX'].append('console=ttyS0,38400n8')
|
||||
info.grub_config['GRUB_CMDLINE_LINUX'].append('elevator=noop')
|
||||
# Enable SCSI block multiqueue on Stretch.
|
||||
from bootstrapvz.common.releases import stretch
|
||||
if info.manifest.release >= stretch:
|
||||
info.grub_config['GRUB_CMDLINE_LINUX'].append('scsi_mod.use_blk_mq=Y')
|
||||
|
|
Loading…
Add table
Reference in a new issue