diff options
author | Håkon Hallingstad <hakon@verizonmedia.com> | 2020-04-03 19:26:01 +0200 |
---|---|---|
committer | Håkon Hallingstad <hakon@verizonmedia.com> | 2020-04-03 19:26:01 +0200 |
commit | 4317740c5d450d62d6918909f0eff283e007f5a0 (patch) | |
tree | 076d1cba71a7ce895a11f2806f4d616eea5a7a42 | |
parent | b994f8c35fa5ffe3366ea2e39cf3f218f9f9e3f2 (diff) |
Document other versionlock commands
-rw-r--r-- | node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/yum/Yum.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/yum/Yum.java b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/yum/Yum.java index 0c3ad0ca97d..4fde82f6fd6 100644 --- a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/yum/Yum.java +++ b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/yum/Yum.java @@ -104,6 +104,7 @@ public class Yum { CommandLine commandLine = terminal.newCommandLine(context).add("yum", "versionlock", "add"); // If the targetVersionLockName refers to a package in a by-default-disabled repo, // we must enable the repo unless targetVersionLockName is already installed. + // The other versionlock commands (list, delete) does not require --enablerepo. for (String repo : repos) commandLine.add("--enablerepo=" + repo); commandLine.add(targetVersionLockName).execute(); modified = true; |