From a1c6d2cffaf384af1c0e4c8211ad1fac10f0274f Mon Sep 17 00:00:00 2001 From: Eric Morino Date: Tue, 15 Jun 2021 12:01:09 +0200 Subject: [PATCH] Correction construction configuration mdadm.conf --- OVH-SYS_Soft_RAID5_BackupServer.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/OVH-SYS_Soft_RAID5_BackupServer.sh b/OVH-SYS_Soft_RAID5_BackupServer.sh index 956fbfe..a93ca35 100644 --- a/OVH-SYS_Soft_RAID5_BackupServer.sh +++ b/OVH-SYS_Soft_RAID5_BackupServer.sh @@ -168,7 +168,6 @@ sleep 1 cat < /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