Commit 2d90596b authored by Lisa Velden's avatar Lisa Velden Committed by Hrvoje Ribicic

Put private parameters into the environment

and unobscure them
Signed-off-by: default avatarLisa Velden <>
Reviewed-by: default avatarHrvoje Ribicic <>
parent a66aa6ff
......@@ -3234,7 +3234,8 @@ def OSEnvironment(instance, inst_os, debug=0):
cannot be found
result = OSCoreEnv(instance.os, inst_os, instance.osparams, debug=debug)
result = OSCoreEnv(instance.os, inst_os, objects.FillDict(instance.osparams,
instance.osparams_private.Unprivate()), debug=debug)
for attr in ["name", "os", "uuid", "ctime", "mtime", "primary_node"]:
result["INSTANCE_%s" % attr.upper()] = str(getattr(instance, attr))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment