Skip to content

Commit

Permalink
Set LC_ALL LANG in the kubelite wrapper so find-resolv-conf.py will n…
Browse files Browse the repository at this point in the history
…ot fail (#3620)

* Set LC_ALL LANG in the kubelite wrapper so find-resolv-conf.py will not fail

* Fix linting deps
  • Loading branch information
ktsakalozos authored Dec 8, 2022
1 parent 856bfc5 commit 2c825f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions microk8s-resources/wrappers/run-kubelite-with-args
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ export PATH="$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH"
ARCH="$($SNAP/bin/uname -m)"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$SNAP/lib:$SNAP/usr/lib:$SNAP/lib/$ARCH-linux-gnu:$SNAP/usr/lib/$ARCH-linux-gnu"
export LD_LIBRARY_PATH=$SNAP_LIBRARY_PATH:$LD_LIBRARY_PATH
export LC_ALL="${LC_ALL:-C.UTF-8}"
export LANG="${LANG:-C.UTF-8}"
export XDG_RUNTIME_DIR="${SNAP_COMMON}/run"
mkdir -p "${XDG_RUNTIME_DIR}"

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ passenv =
MK8S_*
deps =
black ==21.4b2
click==7.0
click==7.1.2
flake8
flake8-colors
pep8-naming
Expand Down

0 comments on commit 2c825f4

Please sign in to comment.