'yum-config-manager' change flag to '--enable'

--set-enabled and --set-disabled changed to actual --enable and --disable. (--set-enabled may come from Fedora).
This commit is contained in:
Alexey Voytenko 2017-01-22 01:30:37 +11:00 committed by Misty Stanley-Jones
parent cb9a698c3e
commit 994f3fb9ee
1 changed files with 4 additions and 4 deletions

View File

@ -79,16 +79,16 @@ Docker from the repository.
> which will almost certainly be an unstable one. > which will almost certainly be an unstable one.
```bash ```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` You can disable the `testing` repository by running the `yum-config-manager`
command with the `--set-disabled` flag. To re-enable it, use the command with the `--disable` flag. To re-enable it, use the
`--set-enabled` flag. The following command disables the `testing` `--enable` flag. The following command disables the `testing`
repository. repository.
```bash ```bash
$ sudo yum-config-manager --set-disabled docker-testing $ sudo yum-config-manager --disable docker-testing
``` ```
#### Install Docker #### Install Docker