All of lore.kernel.org
 help / color / mirror / Atom feed
* wireguard now built into CentOS 7 and CentOS 8's "kernel-plus" kernel
@ 2020-09-18 15:59 Jason A. Donenfeld
  0 siblings, 0 replies; only message in thread
From: Jason A. Donenfeld @ 2020-09-18 15:59 UTC (permalink / raw)
  To: wireguard; +Cc: amyagi

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-18 16:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-18 15:59 wireguard now built into CentOS 7 and CentOS 8's "kernel-plus" kernel Jason A. Donenfeld

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.