Suppress emoji and standard output when calling pipenv as it outputs

characters in non-ascii which causes errors in cloud-init
This commit is contained in:
Ben Partridge
2019-11-28 15:29:44 +11:00
parent 5c2a196049
commit d7fdb4c4c2

View File

@@ -20,7 +20,8 @@ fi
export PATH=/usr/local/bin:$PATH export PATH=/usr/local/bin:$PATH
pip3 install pipenv pip3 install pipenv
pipenv sync echo "Installing ansible and dependencies..."
PIPENV_HIDE_EMOJIS=1 pipenv sync >/dev/null
if [[ $1 == "--dev" ]]; then if [[ $1 == "--dev" ]]; then
pipenv sync --dev pipenv sync --dev