Correction construction configuration mdadm.conf
This commit is contained in:
parent
b4421493e5
commit
a1c6d2cffa
|
@ -168,7 +168,6 @@ sleep 1
|
||||||
cat <<EOT > /mnt/rootfs/etc/fstab
|
cat <<EOT > /mnt/rootfs/etc/fstab
|
||||||
LABEL=ROOTFS / ext4 errors=remount-ro 0 1
|
LABEL=ROOTFS / ext4 errors=remount-ro 0 1
|
||||||
LABEL=BOOT /boot ext4 defaults 0 2
|
LABEL=BOOT /boot ext4 defaults 0 2
|
||||||
LABEL=EFI_SYSPART /boot/efi vfat defaults 0 2
|
|
||||||
LABEL=HOME /home ext4 defaults 0 2
|
LABEL=HOME /home ext4 defaults 0 2
|
||||||
LABEL=TMP /tmp ext4 defaults 0 2
|
LABEL=TMP /tmp ext4 defaults 0 2
|
||||||
LABEL=USR /usr 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
|
for kernel_pkg in $(dpkg -l | grep linux-image | awk '{ print $2 }'); do apt purge -y $kernel_pkg; done
|
||||||
sleep 1
|
sleep 1
|
||||||
# copie de la config RAID soft
|
# copie de la config RAID soft
|
||||||
/usr/share/mdadm/mkconf > /etc/mdadm/mdadm.conf
|
/usr/share/mdadm/mkconf > /etc/mdadm.conf
|
||||||
sleep 1
|
sleep 1
|
||||||
# réinstallation des paquets
|
# réinstallation des paquets
|
||||||
apt install -y lvm2 grub-common grub-pc grub-pc-bin grub2-common linux-image-amd64
|
apt install -y lvm2 grub-common grub-pc grub-pc-bin grub2-common linux-image-amd64
|
||||||
|
|
Loading…
Reference in a new issue