fix devices names

master
lub 5 years ago
parent f351a74e49
commit 55d69f07e8

@ -16,5 +16,5 @@ parted /dev/nvme1n1 mkpart primary 440GB 442GB
sleep 1 sleep 1
# $1=hostname # $1=hostname
echo 'yes' | mdadm -C /dev/md0 --homehost="$1" -l1 -n2 /dev/nvmen[01]n1p1 echo 'yes' | mdadm -C /dev/md0 --homehost="$1" -l1 -n2 /dev/nvme[01]n1p1
echo 'yes' | mdadm -C /dev/md1 --homehost="$1" -l1 -n2 /dev/nvmen[01]n1p2 echo 'yes' | mdadm -C /dev/md1 --homehost="$1" -l1 -n2 /dev/nvme[01]n1p2

Loading…
Cancel
Save