diff --git a/scripts/gnt-cluster b/scripts/gnt-cluster
index f2d4bd42e83d2ca4c9a15c657f9efedadb51bfc3..9ebd10ff1c428955bdf19e082fcbb497870d5ed2 100755
--- a/scripts/gnt-cluster
+++ b/scripts/gnt-cluster
@@ -94,7 +94,9 @@ def InitCluster(opts, args):
     ToStderr("%s must be an integer", constants.BE_VCPUS)
     return 1
 
-  beparams[constants.BE_MEMORY] = utils.ParseUnit(beparams[constants.BE_MEMORY])
+  if not isinstance(beparams[constants.BE_MEMORY], int):
+    beparams[constants.BE_MEMORY] = utils.ParseUnit(
+        beparams[constants.BE_MEMORY])
 
   # prepare hvparams dict
   for hv in constants.HYPER_TYPES: