projects
/
invirt/packages/invirt-database.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
get db uri from invirt.config in sipb-database
[invirt/packages/invirt-database.git]
/
client
/
etc
/
xen
/
sipb-database
diff --git
a/client/etc/xen/sipb-database
b/client/etc/xen/sipb-database
index
4153fc0
..
2d80d07
100644
(file)
--- a/
client/etc/xen/sipb-database
+++ b/
client/etc/xen/sipb-database
@@
-1,11
+1,10
@@
# -*- mode: python; -*-
# -*- mode: python; -*-
-import sipb_xen_database.models as models
-from sipb_xen_database import connect
+from invirt.database import models, connect
import re
import tempfile
from subprocess import call
import re
import tempfile
from subprocess import call
-connect('postgres://sipb-xen@sipb-xen-dev.mit.edu/sipb_xen')
+connect()
prefix = "d_"
# 'machine_name', and optionally 'cdrom_image', should get passed in
prefix = "d_"
# 'machine_name', and optionally 'cdrom_image', should get passed in