From: "Jason A. Donenfeld" <Jason@zx2c4.com>
To: wireguard@lists.zx2c4.com
Cc: amyagi@gmail.com
Subject: wireguard now built into CentOS 7 and CentOS 8's "kernel-plus" kernel
Date: Fri, 18 Sep 2020 17:59:19 +0200 [thread overview]
Message-ID: <20200918155919.GA549539@zx2c4.com> (raw)
Hi folks,
Users of RHEL and CentOS have typically had two different installation
strategies: a kmod from ELrepo or dkms from copr. These have worked
well, but it's still been a bit more cumbersome than one would like,
especially with Secure Boot.
WireGuard has finally been added to CentOS's "kernel-plus" kernels,
which are the normal RHEL kernels, with things added. This means that
WireGuard gets distributed as a built-in to these. It seems to work
well. Instructions are on wireguard.com/install/ and as of writing
suggest the following:
CentOS 8
========
$ sudo yum install yum-utils epel-release
$ sudo yum-config-manager --setopt=centosplus.includepkgs="kernel-plus, kernel-plus-*" --setopt=centosplus.enabled=1 --save
$ sudo sed -e 's/^DEFAULTKERNEL=kernel-core$/DEFAULTKERNEL=kernel-plus-core/' -i /etc/sysconfig/kernel
$ sudo yum install kernel-plus wireguard-tools
$ sudo reboot
CentOS 7
========
$ sudo yum install yum-utils epel-release
$ sudo yum-config-manager --setopt=centosplus.includepkgs=kernel-plus --enablerepo=centosplus --save
$ sudo sed -e 's/^DEFAULTKERNEL=kernel$/DEFAULTKERNEL=kernel-plus/' -i /etc/sysconfig/kernel
$ sudo yum install kernel-plus wireguard-tools
$ sudo reboot
Let me know if there are any issues.
Thanks,
Jason
reply other threads:[~2020-09-18 16:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200918155919.GA549539@zx2c4.com \
--to=jason@zx2c4.com \
--cc=amyagi@gmail.com \
--cc=wireguard@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.