hetzner-dedicated/zfs: Correct mounts
This commit is contained in:
parent
3a1d4917fa
commit
e2fc0536ae
|
@ -219,9 +219,9 @@ zfs create -o mountpoint=legacy \
|
||||||
#
|
#
|
||||||
# Mount the filesystems manually. The nixos installer will detect these mountpoints
|
# Mount the filesystems manually. The nixos installer will detect these mountpoints
|
||||||
# and save them to /mnt/nixos/hardware-configuration.nix during the install process.
|
# 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
|
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
|
# Create a raid mirror for the efi boot
|
||||||
# see https://docs.hetzner.com/robot/dedicated-server/operating-systems/efi-system-partition/
|
# see https://docs.hetzner.com/robot/dedicated-server/operating-systems/efi-system-partition/
|
||||||
|
|
Loading…
Reference in a new issue