|
|
|
@ -51,7 +51,7 @@ root_uuid=$(blkid --output value "$(cryptsetup status root-unlocked | grep devic
|
|
|
|
|
boot_uuid=$(blkid --output value "/hardware-setup/hardware/${1}/boot" | head -n1)
|
|
|
|
|
esp_uuid=$(blkid --output value "/hardware-setup/hardware/${1}/esp" | head -n1)
|
|
|
|
|
disk1_uuid=$(blkid --output value "/dev/nvme1n1p1" | head -n1)
|
|
|
|
|
disk2_uuid=$(blkid --output value "/dev/nvme2n1p2" | head -n1)
|
|
|
|
|
disk2_uuid=$(blkid --output value "/dev/nvme2n1p1" | head -n1)
|
|
|
|
|
sed -i "s/%root_uuid%/${root_uuid}/" /etc/crypttab
|
|
|
|
|
sed -i "s/%boot_uuid%/${boot_uuid}/" /etc/fstab
|
|
|
|
|
sed -i "s/%disk1_uuid%/${disk1_uuid}/" /etc/fstab
|
|
|
|
|