diff options
author | Jesse Keating <jkeating@redhat.com> | 2012-05-30 15:58:49 -0700 |
---|---|---|
committer | Jesse Keating <jkeating@redhat.com> | 2012-05-30 15:58:49 -0700 |
commit | 7829621263d693b52a6ab10de919d114e4efed79 (patch) | |
tree | 68e908a37d13f15eefa4ee0e34bd04c5901a1b83 /data | |
parent | 98f15ce1661a63ea379d793dbf690c909d466aac (diff) | |
download | anaconda-7829621263d693b52a6ab10de919d114e4efed79.tar.gz anaconda-7829621263d693b52a6ab10de919d114e4efed79.tar.xz anaconda-7829621263d693b52a6ab10de919d114e4efed79.zip |
Set the python path within anaconda
Instead of manipulating the path outside of anaconda, which can get
tricky when starting anaconda from ssh, instead update the path inside
anaconda itself. This means we can't get things like os, sys, etc..
from /tmp/updates/, but an updates image can replace these modules by
using the full path to them (e.g. /usr/lib/python...)
Diffstat (limited to 'data')
-rw-r--r-- | data/systemd/anaconda@.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/systemd/anaconda@.service b/data/systemd/anaconda@.service index 903df7a85..03ecabb17 100644 --- a/data/systemd/anaconda@.service +++ b/data/systemd/anaconda@.service @@ -3,7 +3,7 @@ Description=Anaconda After=anaconda.target [Service] -Environment=HOME=/root MALLOC_CHECK_=2 MALLOC_PERTURB_=204 PATH=/usr/bin:/bin:/sbin:/usr/sbin:/mnt/sysimage/bin:/mnt/sysimage/usr/bin:/mnt/sysimage/usr/sbin:/mnt/sysimage/sbin PYTHONPATH=/tmp/updates +Environment=HOME=/root MALLOC_CHECK_=2 MALLOC_PERTURB_=204 PATH=/usr/bin:/bin:/sbin:/usr/sbin:/mnt/sysimage/bin:/mnt/sysimage/usr/bin:/mnt/sysimage/usr/sbin:/mnt/sysimage/sbin Type=oneshot WorkingDirectory=/root ExecStart=/usr/sbin/anaconda |