Skip to content
Snippets Groups Projects
Verified Commit be575f56 authored by Alex Iribarren's avatar Alex Iribarren
Browse files

Remove lvm and dmraid

parent 7a38c969
No related branches found
No related tags found
1 merge request!41Fix software RAID support
Pipeline #2667709 passed
...@@ -219,7 +219,7 @@ echo -e "\nadd_drivers+=\"nvme\"" >> /etc/dracut.conf.d/nvme.conf ...@@ -219,7 +219,7 @@ echo -e "\nadd_drivers+=\"nvme\"" >> /etc/dracut.conf.d/nvme.conf
# Ensure mdadm is built into initramfs so we can install on software RAID # Ensure mdadm is built into initramfs so we can install on software RAID
echo '# dracut modules to add to the default' >> /etc/dracut.conf.d/mdadm.conf echo '# dracut modules to add to the default' >> /etc/dracut.conf.d/mdadm.conf
echo 'add_dracutmodules+="dm lvm dmraid mdraid"' >> /etc/dracut.conf.d/mdadm.conf echo 'add_dracutmodules+="dm mdraid"' >> /etc/dracut.conf.d/mdadm.conf
echo 'add_drivers+="raid1 raid10 raid5 raid0 linear"' >> /etc/dracut.conf.d/mdadm.conf echo 'add_drivers+="raid1 raid10 raid5 raid0 linear"' >> /etc/dracut.conf.d/mdadm.conf
# Rebuild the initramfs # Rebuild the initramfs
......
...@@ -219,7 +219,7 @@ echo -e "\nadd_drivers+=\"nvme\"" >> /etc/dracut.conf.d/nvme.conf ...@@ -219,7 +219,7 @@ echo -e "\nadd_drivers+=\"nvme\"" >> /etc/dracut.conf.d/nvme.conf
# Ensure mdadm is built into initramfs so we can install on software RAID # Ensure mdadm is built into initramfs so we can install on software RAID
echo '# dracut modules to add to the default' >> /etc/dracut.conf.d/mdadm.conf echo '# dracut modules to add to the default' >> /etc/dracut.conf.d/mdadm.conf
echo 'add_dracutmodules+="dm lvm dmraid mdraid"' >> /etc/dracut.conf.d/mdadm.conf echo 'add_dracutmodules+="dm mdraid"' >> /etc/dracut.conf.d/mdadm.conf
echo 'add_drivers+="raid1 raid10 raid5 raid0 linear"' >> /etc/dracut.conf.d/mdadm.conf echo 'add_drivers+="raid1 raid10 raid5 raid0 linear"' >> /etc/dracut.conf.d/mdadm.conf
# Rebuild the initramfs # Rebuild the initramfs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment