Signed-off-by: Jose A. Lopes <[email protected]>
---
 lib/backend.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/backend.py b/lib/backend.py
index bb0aaa9..8740d1e 100644
--- a/lib/backend.py
+++ b/lib/backend.py
@@ -3147,7 +3147,7 @@ def OSCoreEnv(os_name, inst_os, os_params, debug=0):
 
   # OS params
   for pname, pvalue in os_params.items():
-    result["OSP_%s" % pname.upper()] = pvalue
+    result["OSP_%s" % pname.upper().replace("-", "_")] = pvalue
 
   # Set a default path otherwise programs called by OS scripts (or
   # even hooks called from OS scripts) might break, and we don't want
-- 
1.9.1.423.g4596e3a

Reply via email to