mirror of https://github.com/docker/docs.git
Fix yum variables again
This commit is contained in:
parent
fd9266e536
commit
cc4d70cf78
|
@ -122,7 +122,7 @@ Repository set-up instructions are different for [Docker CE](#docker-ce) and
|
|||
[prerequisites](#prerequisites).
|
||||
|
||||
```bash
|
||||
$ sudo sh -c 'echo "<DOCKER-EE-URL>" > /etc/yum/vars/dockersuburl'
|
||||
$ sudo sh -c 'echo "<DOCKER-EE-URL>" > /etc/yum/vars/dockerurl'
|
||||
```
|
||||
|
||||
3. Install `yum-utils`, which provides the `yum-config-manager` utility:
|
||||
|
|
|
@ -79,12 +79,12 @@ the repository.
|
|||
|
||||
1. Remove any existing Docker repositories from `/etc/yum.repos.d/`.
|
||||
|
||||
2. Store your EE repository URL in `/etc/yum/vars/dockersuburl`. Replace
|
||||
2. Store your EE repository URL in `/etc/yum/vars/dockerurl`. Replace
|
||||
`<DOCKER-EE-URL>` with the URL you noted down in the
|
||||
[prerequisites](#prerequisites).
|
||||
|
||||
```bash
|
||||
$ sudo sh -c 'echo "<DOCKER-EE-URL>" > /etc/yum/vars/dockersuburl'
|
||||
$ sudo sh -c 'echo "<DOCKER-EE-URL>" > /etc/yum/vars/dockerurl'
|
||||
```
|
||||
|
||||
3. Install `yum-utils`, which provides the `yum-config-manager` utility:
|
||||
|
|
|
@ -79,12 +79,12 @@ the repository.
|
|||
|
||||
2. Store two `yum` variables in `/etc/yum/vars/`.
|
||||
|
||||
- Store your EE repository URL in `/etc/yum/vars/dockersuburl`. Replace
|
||||
- Store your EE repository URL in `/etc/yum/vars/dockerurl`. Replace
|
||||
`<DOCKER-EE-URL>` with the URL you noted down in the
|
||||
[prerequisites](#prerequisites).
|
||||
|
||||
```bash
|
||||
$ sudo sh -c 'echo "<DOCKER-EE-URL>" > /etc/yum/vars/dockersuburl'
|
||||
$ sudo sh -c 'echo "<DOCKER-EE-URL>" > /etc/yum/vars/dockerurl'
|
||||
```
|
||||
|
||||
- Store your RHEL version string in `/etc/yum/vars/dockerosversion`.
|
||||
|
|
Loading…
Reference in New Issue