Skip to content

Commit 3706ba1

Browse files
devkevkay-kim
authored andcommitted
zypper addrepo requires sudo
The docs for enterprise (steps-install-mongodb-enterprise-on-suse.yaml) correctly state this. Signed-off-by: kay <kay.kim@10gen.com>
1 parent 21cfa9e commit 3706ba1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/includes/steps-install-mongodb-on-suse.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ action:
1414
Use the following command:
1515
language: sh
1616
code: |
17-
zypper addrepo --no-gpgcheck https://repo.mongodb.org/zypper/suse/11/mongodb-org/3.0/x86_64/ mongodb
17+
sudo zypper addrepo --no-gpgcheck https://repo.mongodb.org/zypper/suse/11/mongodb-org/3.0/x86_64/ mongodb
1818
- heading: For versions of MongoDB *earlier* than 3.0
1919
pre: |
2020
To install MongoDB packages from a previous :ref:`release
@@ -24,7 +24,7 @@ action:
2424
use the following command:
2525
language: sh
2626
code: |
27-
zypper addrepo --no-gpgcheck http://downloads-distro.mongodb.org/repo/suse/os/x86_64/ mongodb
27+
sudo zypper addrepo --no-gpgcheck http://downloads-distro.mongodb.org/repo/suse/os/x86_64/ mongodb
2828
---
2929
title: Install the MongoDB packages and associated tools.
3030
stepnum: 2

0 commit comments

Comments
 (0)