diff --git a/cloudimg/CentOS-7-x86_64-Azure.ks b/cloudimg/CentOS-7-x86_64-Azure.ks index 7e59b5e..d264060 100644 --- a/cloudimg/CentOS-7-x86_64-Azure.ks +++ b/cloudimg/CentOS-7-x86_64-Azure.ks @@ -78,7 +78,7 @@ rm -f /etc/systemd/system/default.target ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target # Set the kernel cmdline -sed -i 's/^\(GRUB_CMDLINE_LINUX\)=".*"$/\1="console=tty1 console=ttyS0,115200n8 earlyprintk=ttyS0,115200 rootdelay=300 net.ifnames=0"/g' /etc/default/grub +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 # Enable grub serial console echo 'GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"' >> /etc/default/grub