Development discussion of WireGuard
 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

Development discussion of WireGuard

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/wireguard

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 wireguard wireguard/ http://inbox.vuxu.org/wireguard \
		wireguard@lists.zx2c4.com
	public-inbox-index wireguard

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.wireguard


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git