From 994f3fb9eeb22ae169a1744b97f297ac9e7d352c Mon Sep 17 00:00:00 2001 From: Alexey Voytenko Date: Sun, 22 Jan 2017 01:30:37 +1100 Subject: [PATCH] 'yum-config-manager' change flag to '--enable' --set-enabled and --set-disabled changed to actual --enable and --disable. (--set-enabled may come from Fedora). --- engine/installation/linux/centos.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/engine/installation/linux/centos.md b/engine/installation/linux/centos.md index 74f4b8acef..74b34702ba 100644 --- a/engine/installation/linux/centos.md +++ b/engine/installation/linux/centos.md @@ -79,16 +79,16 @@ Docker from the repository. > which will almost certainly be an unstable one. ```bash - $ sudo yum-config-manager --set-enabled docker-testing + $ sudo yum-config-manager --enable docker-testing ``` You can disable the `testing` repository by running the `yum-config-manager` - command with the `--set-disabled` flag. To re-enable it, use the - `--set-enabled` flag. The following command disables the `testing` + command with the `--disable` flag. To re-enable it, use the + `--enable` flag. The following command disables the `testing` repository. ```bash - $ sudo yum-config-manager --set-disabled docker-testing + $ sudo yum-config-manager --disable docker-testing ``` #### Install Docker