svn path=/trunk/packages/sipb-xen-console-server/; revision=814
files/etc/conserver/conserver.cf.sipb-xen: console-proxy ip
files/etc/conserver/conserver.cf.sipb-xen: master-vm name
-files/usr/sbin/sipb-xen-update-conserver: db uri
sipb-xen-console-server (2.05) unstable; urgency=low
* use invirt.config rather than /etc/invirt/* directly
- * get console-server hostname from config
+ * get console-server hostname, db connection string from config
- -- Greg Price <price@mit.edu> Fri, 1 Aug 2008 23:49:26 -0400
+ -- Greg Price <price@mit.edu> Fri, 1 Aug 2008 23:57:59 -0400
sipb-xen-console-server (2.04) unstable; urgency=low
import socket
from invirt.config import structs as config
-sipb_xen_database.connect('postgres://sipb-xen@sipb-xen-dev.mit.edu/sipb_xen')
+sipb_xen_database.connect(config.db.uri)
def live_vms():
p = subprocess.Popen(['/usr/sbin/xm', 'list'], stdout=subprocess.PIPE)