Skip to content

Commit fd8432f

Browse files
committed
fix: ci/cfengine-build-host-setup.cf: centos-7 needs /etc/environment LC_ALL=C for certain tests to pass
Ticket: ENT-13858 Changelog: none (cherry picked from commit 302d7a58a90703163b704fffea771aa0988ac3b2)
1 parent 053bd25 commit fd8432f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

ci/cfengine-build-host-setup.cf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,13 @@ jenkins_builds ALL=NOPASSWD: /usr/bin/podman
363363
create => "true",
364364
perms => mog("400", "root", "root");
365365

366+
centos_7::
367+
"/etc/environment"
368+
comment => "centos-7 vagrant VMs have unconfigured locale that breaks some tests so force LC_ALL=C",
369+
content => "LC_ALL=C",
370+
create => "true",
371+
perms => mog("0644", "root", "root");
372+
366373
redhat_10::
367374
"/usr/lib/rpm/redhat/macros"
368375
edit_line => insert_lines("%_empty_manifest_terminate_build 0"),

0 commit comments

Comments
 (0)