Correction construction configuration mdadm.conf

This commit is contained in:
Eric Morino 2021-06-15 12:01:09 +02:00
parent b4421493e5
commit a1c6d2cffa
1 changed files with 1 additions and 2 deletions

View File

@ -168,7 +168,6 @@ sleep 1
cat <<EOT > /mnt/rootfs/etc/fstab
LABEL=ROOTFS / ext4 errors=remount-ro 0 1
LABEL=BOOT /boot ext4 defaults 0 2
LABEL=EFI_SYSPART /boot/efi vfat defaults 0 2
LABEL=HOME /home ext4 defaults 0 2
LABEL=TMP /tmp ext4 defaults 0 2
LABEL=USR /usr ext4 defaults 0 2
@ -211,7 +210,7 @@ sleep 1
for kernel_pkg in $(dpkg -l | grep linux-image | awk '{ print $2 }'); do apt purge -y $kernel_pkg; done
sleep 1
# copie de la config RAID soft
/usr/share/mdadm/mkconf > /etc/mdadm/mdadm.conf
/usr/share/mdadm/mkconf > /etc/mdadm.conf
sleep 1
# réinstallation des paquets
apt install -y lvm2 grub-common grub-pc grub-pc-bin grub2-common linux-image-amd64