diff --git a/library/virt b/library/virt index c1181d7a5d..5d69e36769 100755 --- a/library/virt +++ b/library/virt @@ -19,6 +19,8 @@ VIRT_FAILED = 1 VIRT_SUCCESS = 0 VIRT_UNAVAILABLE=2 +import sys + try: import libvirt except ImportError: