hetzner-dedicated/zfs: Correct mounts

This commit is contained in:
Akshay Mankar 2023-10-13 17:31:42 +02:00
parent 3a1d4917fa
commit e2fc0536ae
Signed by: axeman
GPG key ID: CA08F3AB62369B89

View file

@ -219,9 +219,9 @@ zfs create -o mountpoint=legacy \
#
# Mount the filesystems manually. The nixos installer will detect these mountpoints
# and save them to /mnt/nixos/hardware-configuration.nix during the install process.
mount -t zfs root_pool/root /mnt
mount -t zfs root_pool/encrypted/root /mnt
mkdir -p /mnt/var/lib/postgresql
mount -t zfs root_pool/postgresql /mnt/var/lib/postgresql
mount -t zfs root_pool/encrypted/data/postgresql /mnt/var/lib/postgresql
# Create a raid mirror for the efi boot
# see https://docs.hetzner.com/robot/dedicated-server/operating-systems/efi-system-partition/