diff --git a/articles/virtual-machines/enable-nvme-temp-faqs.yml b/articles/virtual-machines/enable-nvme-temp-faqs.yml index 0714c55cf7..7670359f0c 100644 --- a/articles/virtual-machines/enable-nvme-temp-faqs.yml +++ b/articles/virtual-machines/enable-nvme-temp-faqs.yml @@ -193,7 +193,7 @@ sections: elif [ -e "/etc/mdadm.conf" ]; then mdadm_conf_path="/etc/mdadm.conf" else - print "Couldn't find mdadm.conf file" + printf "Couldn't find mdadm.conf file" exit 1 fi @@ -323,6 +323,11 @@ sections: exit 0 ``` + For RHEL/CentOS based distributives, replace `update-initramfs -u` to `dracut --force` to regenerate initramfs file. + If script stops execution with "Couldn't find mdadm.conf file", then you can create mdadm.conf file using commands: + ``` + sudo touch /etc/mdadm/mdadm.conf + ``` - question: | How can I move the Windows pagefile from an OS disk to a temp NVMe disk? answer: |