瀏覽代碼

Merge pull request #9089 from bysnupy/master

Suppress unexpected errors caused by non-English locale during CRI-O installation
OpenShift Merge Robot 6 年之前
父節點
當前提交
afacf023bc
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      roles/container_runtime/tasks/common/setup_docker_symlink.yml

+ 2 - 0
roles/container_runtime/tasks/common/setup_docker_symlink.yml

@@ -13,6 +13,8 @@
 
     - name: "Set the selinux context on {{ docker_alt_storage_path }}"
       command: "semanage fcontext -a -e {{ docker_default_storage_path }} {{ docker_alt_storage_path }}"
+      environment:
+        LANG: C
       register: results
       failed_when:
         - results.rc == 1