From fcbf0da4f58464d85a47f16f2dfeac0fe2744fc8 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Tue, 23 Feb 2010 13:18:13 +0100
Subject: [PATCH] Enable hbal to use the new command line option

---
 hbal.1  | 7 +++++++
 hbal.hs | 1 +
 2 files changed, 8 insertions(+)

diff --git a/hbal.1 b/hbal.1
index 10e4da114..afb5584c4 100644
--- a/hbal.1
+++ b/hbal.1
@@ -29,6 +29,7 @@ Algorithm options:
 .B "[ --no-disk-moves ]"
 .BI "[ -U " util-file " ]"
 .B "[ --evac-mode ]"
+.BI "[ --exclude-instances " inst... " ]"
 
 .TP
 Reporting options:
@@ -408,6 +409,12 @@ to the ones living on offline/drained nodes. It can be used as a
 (bulk) replacement for Ganeti's own \fIgnt-node evacuate\fR, with the
 note that it doesn't guarantee full evacuation.
 
+.TP
+.BI "--exclude-instances " instances
+This parameter marks the given instances (as a comma-separated list)
+from being moved during the rebalance. Note that the instances must be
+given their full name (as reported by Ganeti).
+
 .TP
 .BI "-U" util-file
 This parameter specifies a file holding instance dynamic utilisation
diff --git a/hbal.hs b/hbal.hs
index 05e6ec361..529a6431c 100644
--- a/hbal.hs
+++ b/hbal.hs
@@ -74,6 +74,7 @@ options =
     , oDiskMoves
     , oDynuFile
     , oExTags
+    , oExInst
     , oShowVer
     , oShowHelp
     ]
-- 
GitLab