hetzner-dedicated/zfs: Load zfs module before trying to use it
This commit is contained in:
parent
33ba9f7fd6
commit
b43348a690
|
@ -176,6 +176,9 @@ mdadm --zero-superblock --force $DISK2-part3 || true
|
||||||
# See https://github.com/NixOS/nixpkgs/issues/62444
|
# See https://github.com/NixOS/nixpkgs/issues/62444
|
||||||
udevadm trigger
|
udevadm trigger
|
||||||
|
|
||||||
|
# Sometimes the zfs module is not loaded
|
||||||
|
modprobe zfs
|
||||||
|
|
||||||
# taken from https://nixos.wiki/wiki/NixOS_on_ZFS
|
# taken from https://nixos.wiki/wiki/NixOS_on_ZFS
|
||||||
# somehow there is a weird symlink in the default zfs
|
# somehow there is a weird symlink in the default zfs
|
||||||
zpool create -O mountpoint=none \
|
zpool create -O mountpoint=none \
|
||||||
|
|
Loading…
Reference in a new issue