Skip to content
Snippets Groups Projects
Unverified Commit 93c14824 authored by anarcat's avatar anarcat
Browse files

minimize required trust in cumin installs

parent 252ee26c
No related branches found
No related tags found
No related merge requests found
......@@ -17,15 +17,22 @@ documented.
## Installation
First, install Cumin and some patches:
First, install dependencies, Cumin and some patches:
virtualenv --python=python3 ~/.virtualenvs/cumin
sudo apt install python3-colorama python3-clustershell python3-pyparsing python3-requests python3-tqdm python3-yaml
virtualenv --python=python3 --system-site-packages ~/.virtualenvs/cumin
~/.virtualenvs/cumin/bin/pip3 install cumin
~/.virtualenvs/cumin/bin/pip3 uninstall pyparsing clustershell # force using trusted system packages
Notice how Cumin is installed in a [Python virtualenv][]: it is not
yet [in Debian][]. You'll also need a patch to enable plain HTTP
access, see [this bug report][]. You might also want to disable the
[root check][] as well. Then drop the following configuration in
[root check][] as well:
git clone https://github.com/wikimedia/cumin/ &&
git -C cumin show 8e49a21f57583f5c229ba05a0828d810b3543088 26aaf06950cf22850252785d689b34c54acd9785 | ( cd ~/.virtualenvs/cumin/lib/python3.7/site-packages && patch -p1 -f )
Then drop the following configuration in
`~/.config/cumin/config.yaml`:
transport: clustershell
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment