Update links to ZFS repo for RHEL
Signed-off-by: Maurice Zhou <ja@apvc.uk>
This commit is contained in:
committed by
George Melikov
parent
46a912175e
commit
d5ae2ab80b
@@ -56,7 +56,7 @@ Preparation
|
||||
|
||||
#. Add ZFS repo::
|
||||
|
||||
dnf install -y https://zfsonlinux.org/epel/zfs-release-el-2-1.noarch.rpm
|
||||
dnf install -y https://zfsonlinux.org/epel/zfs-release-2-2$(rpm --eval "%{dist}").noarch.rpm
|
||||
|
||||
#. Check available repos::
|
||||
|
||||
@@ -67,7 +67,6 @@ Preparation
|
||||
dnf config-manager --disable zfs
|
||||
dnf config-manager --enable zfs-kmod
|
||||
dnf install -y zfs
|
||||
# if gpg import fails, add --nogpgcheck
|
||||
|
||||
#. Load kernel modules::
|
||||
|
||||
|
||||
@@ -138,10 +138,10 @@ System Installation
|
||||
@core grub2-efi-x64 grub2-pc-modules grub2-efi-x64-modules shim-x64 efibootmgr kernel
|
||||
|
||||
dnf --installroot=/mnt --releasever=$(source /etc/os-release ; echo $VERSION_ID) -y install \
|
||||
https://zfsonlinux.org/epel/zfs-release-el-2-1.noarch.rpm
|
||||
https://zfsonlinux.org/epel/zfs-release-2-2$(rpm --eval "%{dist}").noarch.rpm
|
||||
|
||||
dnf config-manager --installroot=/mnt --disable zfs
|
||||
dnf config-manager --installroot=/mnt --enable zfs-kmod
|
||||
|
||||
dnf --installroot=/mnt --releasever=$(source /etc/os-release ; echo $VERSION_ID) \
|
||||
--nogpgcheck -y install zfs zfs-dracut
|
||||
-y install zfs zfs-dracut
|
||||
|
||||
Reference in New Issue
Block a user