From e34a20dac0c06e485421c4c793cddf7d61ee4238 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 22 Oct 2018 12:14:49 -0400 Subject: [PATCH] docs: Just use `yum` on Fedora too This is what I do. `dnf` no longer complains if invoked as `yum`; there's no point to having two separate sets of instructions. Also use `systemctl enable --now` for further brevity. --- docs/dev/dependencies.md | 10 +--------- docs/dev/libvirt-howto.md | 11 ++--------- 2 files changed, 3 insertions(+), 18 deletions(-) diff --git a/docs/dev/dependencies.md b/docs/dev/dependencies.md index d177aca6dc8..d5bd1169735 100644 --- a/docs/dev/dependencies.md +++ b/docs/dev/dependencies.md @@ -4,15 +4,7 @@ The following dependencies must be installed on your system before you can build the installer. -### Fedora - -```sh -sudo dnf install golang-bin gcc-c++ -``` - -If you need support for [libvirt destroy](libvirt-howto.md#cleanup), you should also install `libvirt-devel`. - -### CentOS, RHEL +### Fedora, CentOS, RHEL ```sh sudo yum install golang-bin gcc-c++ diff --git a/docs/dev/libvirt-howto.md b/docs/dev/libvirt-howto.md index 8841a3e0ed9..08a1b79155c 100644 --- a/docs/dev/libvirt-howto.md +++ b/docs/dev/libvirt-howto.md @@ -8,13 +8,7 @@ It's expected that you will create and destroy clusters often in the course of d Before you begin, install the [build dependencies](dependencies.md). ### Install and Enable Libvirt -On Fedora: - -```sh -sudo dnf install libvirt-daemon -``` - -or on CentOS / RHEL: +On Fedora, CentOS/RHEL: ```sh sudo yum install libvirt-daemon @@ -23,8 +17,7 @@ sudo yum install libvirt-daemon Then start libvirtd: ```sh -sudo systemctl start libvirtd -sudo systemctl enable libvirtd +sudo systemctl enable --now libvirtd ``` ### Pick names