adjust sys.path in scripts to find xen modules
authorAdam Glasgall <adam@crossproduct.net>
Sat, 20 Apr 2013 18:42:32 +0000 (14:42 -0400)
committerAdam Glasgall <adam@crossproduct.net>
Sat, 20 Apr 2013 18:42:32 +0000 (14:42 -0400)
debian/changelog
host/usr/sbin/invirt-listvms

index c372036..3937a79 100644 (file)
@@ -1,3 +1,9 @@
+invirt-remote (0.4.15~glasgall2) precise; urgency=low
+
+  * Adjust sys.path in scripts to include the Xen modules
+
+ -- Adam Glasgall <glasgall@mit.edu>  Sat, 20 Apr 2013 14:41:50 -0400
+
 invirt-remote (0.4.15~glasgall1) precise; urgency=low
 
   * SQLAlchemy API fixups.
index aeea6d7..7ca40c0 100755 (executable)
@@ -1,6 +1,7 @@
 #!/usr/bin/python
 
 import sys
+sys.path.append('/usr/lib/xen-default/lib/python/')
 import time
 from xen.lowlevel import xs