Ignore:
Timestamp:
Aug 3, 2008, 12:46:09 AM (16 years ago)
Author:
y_z
Message:

use invirt config in sipb-xen-lvm and to generate /etc/remctl/acl/remote

Location:
trunk/packages/sipb-xen-remctl-auto/files
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-remctl-auto/files/usr/sbin/sipb-xen-lvm

    r175 r834  
    44import os.path
    55from subprocess import call, PIPE, Popen
     6from invirt.config import structs as config
    67
    78def check(b):
     
    2223    from sipb_xen_database import *
    2324    import re
    24     connect('postgres://sipb-xen@sipb-xen-dev.mit.edu/sipb_xen')
     25    connect(config.db.uri)
    2526    for d in Disk.select():
    2627        check(re.match('^[A-Za-z0-9]+$', d.guest_device_name))
Note: See TracChangeset for help on using the changeset viewer.