~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to bin/ivle-mountallusers

  • Committer: Matt Giuca
  • Date: 2009-04-22 05:14:58 UTC
  • Revision ID: matt.giuca@gmail.com-20090422051458-vh65hoaa3a54knxq
Stopped clobbering conf.py within the jail, using a proper ivle.conf instead.
Now works with Python 2.6 (and can have another version, possible 2.6, inside
the jail).

ivle/config/ivle-spec.conf: Added user_info section with in-jail variables.
ivle/makeuser: Writes a conf file (ivle.conf) instead of conf.py.
ivle/conf/conf.py: Added emulation layer bindings for the in-jail variables.
ivle-buildjail: No longer REMOVES the conf.py file (since it's just a normal
    source file now).

(--author Will)

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
import optparse
30
30
import logging
31
31
 
32
 
import ivle.config
33
32
import ivle.database
34
33
import ivle.conf
35
34
 
50
49
                          os.path.basename(sys.argv[0])
51
50
    sys.exit(1)
52
51
 
53
 
store = ivle.database.get_store(ivle.config.Config())
 
52
store = ivle.database.get_store()
54
53
users = store.find(ivle.database.User).order_by(ivle.database.User.login)
55
54
 
56
55
logging.info("mass aufs mount started")