summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHåkon Hallingstad <hakon@verizonmedia.com>2020-04-03 19:26:01 +0200
committerHåkon Hallingstad <hakon@verizonmedia.com>2020-04-03 19:26:01 +0200
commit4317740c5d450d62d6918909f0eff283e007f5a0 (patch)
tree076d1cba71a7ce895a11f2806f4d616eea5a7a42
parentb994f8c35fa5ffe3366ea2e39cf3f218f9f9e3f2 (diff)
Document other versionlock commands
-rw-r--r--node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/yum/Yum.java1
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;