Skip to content

Commit de9b2a3

Browse files
Stephen A. Zarkoskbsingh
authored andcommitted
Enable SCSI blk-mq for CentOS 7.6+ (#153)
1 parent bc3c976 commit de9b2a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloudimg/CentOS-7-x86_64-Azure.ks

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ rm -f /etc/systemd/system/default.target
7878
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
7979

8080
# Set the kernel cmdline
81-
sed -i 's/^\(GRUB_CMDLINE_LINUX\)=".*"$/\1="console=tty1 console=ttyS0,115200n8 earlyprintk=ttyS0,115200 rootdelay=300 net.ifnames=0"/g' /etc/default/grub
81+
sed -i 's/^\(GRUB_CMDLINE_LINUX\)=".*"$/\1="console=tty1 console=ttyS0,115200n8 earlyprintk=ttyS0,115200 rootdelay=300 net.ifnames=0 scsi_mod.use_blk_mq=y"/g' /etc/default/grub
8282

8383
# Enable grub serial console
8484
echo 'GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"' >> /etc/default/grub

0 commit comments

Comments
 (0)