diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-03-25 15:32:14 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-03-25 15:32:14 +0100 |
| commit | 89981022c490d1c6686670f9bcd6ca2e0b8fefe4 (patch) | |
| tree | 24cb233db710d13c02fbd7ace21c671bc593e4eb | |
| parent | 2cbe614a535b5268b6d20b2f5dce300e09a7ac6a (diff) | |
fix cryptsetup typos
| -rwxr-xr-x | nais | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -83,13 +83,13 @@ install_arch() { fi cryptsetup luksFormat --type luks2 "$root" "/key/.keys/${KEYFILE}" || exit - cryptsetup open --keyfile "/key/.keys/${KEYFILE}" "$root" root || exit + cryptsetup open --key-file "/key/.keys/${KEYFILE}" "$root" root || exit mkfs.btrfs -f /dev/mapper/root || exit mount "$root" /mnt/ || exit btrfs subvolume create /mnt/home || exit echo "$PASSWORD" | cryptsetup luksFormat --type luks1 "$boot" - || exit - echo "$PASSWORD" | cryptsetup open --keyfile - "$boot" boot || exit + echo "$PASSWORD" | cryptsetup open --key-file - "$boot" boot || exit mkfs.vfat /dev/mapper/boot || exit mount --mkdir "$boot" /mnt/boot || exit |