Skip to content

Commit 1b0de71

Browse files
authored
Merge pull request #1821 from olehermanse/rhel
ENT-6124: Fixed space before version number for RHEL 5 / 6
2 parents b31c8c8 + 157d381 commit 1b0de71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

inventory/os.cf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ _inventory_lsb_found::
2222
# Hard coded values for exceptions / platforms without os-release:
2323

2424
(redhat_5|redhat_6).redhat_pure::
25-
"description" string => regex_replace("$(inventory_lsb.description)", " release ", "", "g"),
25+
"description" string => regex_replace("$(inventory_lsb.description)", " release ", " ", "g"),
2626
if => isvariable("inventory_lsb.description"),
2727
meta => { "inventory", "attribute_name=OS", "derived-from=inventory_lsb.description" };
2828

0 commit comments

Comments
 (0)