projects
/
invirt/packages/invirt-console.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sipb-xen-console-server is totally configurable
[invirt/packages/invirt-console.git]
/
files
/
usr
/
sbin
/
sipb-xen-update-conserver
diff --git
a/files/usr/sbin/sipb-xen-update-conserver
b/files/usr/sbin/sipb-xen-update-conserver
index
b7f3bd8
..
8d99d64
100755
(executable)
--- a/
files/usr/sbin/sipb-xen-update-conserver
+++ b/
files/usr/sbin/sipb-xen-update-conserver
@@
-6,7
+6,7
@@
import os
import socket
from invirt.config import structs as config
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)
def live_vms():
p = subprocess.Popen(['/usr/sbin/xm', 'list'], stdout=subprocess.PIPE)