[Users] otopi.conf

Alon Bar-Lev alonbl at redhat.com
Sat Mar 15 19:32:53 UTC 2014



----- Original Message -----
> From: "jacek burghardt" <jaceksburghardt at gmail.com>
> To: "Alon Bar-Lev" <alonbl at redhat.com>
> Cc: users at ovirt.org
> Sent: Saturday, March 15, 2014 9:22:44 PM
> Subject: Re: [Users] otopi.conf
> 
> Well what is the purpose of otopi.conf i would like otopi pointed to python
> 2.7 as arch linux has both 2.7 and 3.3 and python is pointed to 3.3 so
> looks like to me by setting up otopi.conf to /usr/bin/python2 i could get
> proper python
> 

I already wrote you the answer.

For engine-setup, either define global environment of OTOPI_PYTHON or put a file /etc/ovirt-engine-setup.env.d/01-archlinux.env
---
export OTOPI_PYTHON="python2"
---

For host you should have OTOPI_PYTHON at global environment or put a file /etc/otopi.env.d/01-archlinux.env
---
export OTOPI_PYTHON="python2"
---

If all works, we can have an option within engine to override this during deploy.

Alon



More information about the Users mailing list