Change in vdsm[master]: hooks: Fix RHEVM references in README file

amureini at redhat.com amureini at redhat.com
Wed Jun 17 11:42:48 UTC 2015


Allon Mureinik has uploaded a new change for review.

Change subject: hooks: Fix RHEVM references in README file
......................................................................

hooks: Fix RHEVM references in README file

Replaced outdated references of rhevm-config to oVirt's engine-config.

Change-Id: I5ef360e6685951daf416a45a9d714d0666c018b2
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M vdsm_hooks/README
1 file changed, 8 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/85/42485/1

diff --git a/vdsm_hooks/README b/vdsm_hooks/README
index 1659610..6eab80c 100644
--- a/vdsm_hooks/README
+++ b/vdsm_hooks/README
@@ -9,26 +9,26 @@
 Working with VDSM hooks
 =======================
 To work with VDSM hooks you need first to do the following:
-1. Update UserDefinedVMProperties property by using the rhevm-config tool:
-   # rhevm-config -s UserDefinedVMProperties='pincpu=^[0-9]+$' --cver=3.0
+1. Update UserDefinedVMProperties property by using the engine-config tool:
+   # engine-config -s UserDefinedVMProperties='pincpu=^[0-9]+$' --cver=3.0
    * Note: for simplification we use pincpu=^[0-9]+$ which enable only numbers, the actual
            regex need to be pincpu=^[\^]?\d+(-\d+)?(,[\^]?\d+(-\d+)?)*$ which enable range of CPUs.
 
    That command will enable VMs to use pincpu custom hook.
    * Please note that this command will override the existing value of UserDefinedVMProperties
      you can concatenate the old value by getting it with the following command:
-     # rhevm-config -g UserDefinedVMProperties --cver=3.0
-   * note for the version in rhevm-config tool, the current version is 3.0 and its the first
+     # engine-config -g UserDefinedVMProperties --cver=3.0
+   * note for the version in engine-config tool, the current version is 3.0 and its the first
      version that use custom hooks, to use the version you can do the following:
-     # rhevm-config -g UserDefinedVMProperties --cver=3.0
+     # engine-config -g UserDefinedVMProperties --cver=3.0
 
    If you want to enable more then one custom hook use the semicolon as
    a separator:
-   # rhevm-config -s UserDefinedVMProperties='pincpu=^[0-9]+$;sap_agent=^(true|false)$' --cver=3.0
+   # engine-config -s UserDefinedVMProperties='pincpu=^[0-9]+$;sap_agent=^(true|false)$' --cver=3.0
 
    The convention is [hook name]=[value], the value is evaluate with regular expression,
    If you find regular expression too complex, you can always use the following command:
-   # rhevm-config -s UserDefinedVMProperties='pincpu=.*' --cver=3.0
+   # engine-config -s UserDefinedVMProperties='pincpu=.*' --cver=3.0
 
    Which mean that RHEV-M validation will get any input - but please note that giving
    a bad input - the hook will probably fail or run with unexpected results!
@@ -45,7 +45,7 @@
       select the last option from the left option list with the label "Custom Properties"
       add your custom property value, in our pincpu hook case:
       pincpu=1
-      if you want to use more then on hook and you did enable it with the rhevm-config
+      if you want to use more then on hook and you did enable it with the engine-config
       tool, you can use the semicolon as a separator:
       pincpu=1;sap_agent=true
    b. Another option is to use "Run Once" dialog which mean that you add a custom property


-- 
To view, visit https://gerrit.ovirt.org/42485
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5ef360e6685951daf416a45a9d714d0666c018b2
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amureini at redhat.com>


More information about the vdsm-patches mailing list