This commit is contained in:
Vyacheslav Anzhiganov 2016-08-21 15:14:58 +03:00
parent 856432c58e
commit 69ba93c824
3 changed files with 2 additions and 10 deletions

View file

@ -119,7 +119,6 @@ class QEMU:
"""
os.popen("/usr/bin/virsh shutdown %s" % hostname, "r")
os.popen("/usr/bin/virsh undefine %s" % hostname, "r")
os.popen("/bin/rm -r /var/lib/qemu/images/%s/" % hostname, "r")
return True
@ -224,8 +223,6 @@ class QEMU:
"--dns=%s" % dns1,
"--dns=%s" % dns2,
]
print ' '.join(c)
print ';;;'
print subprocess.call(' '.join(c), shell=True)
subprocess.call(' '.join(c), shell=True)
return True

View file

@ -1,5 +0,0 @@
#!/usr/bin/env python
from SWSCloudNode.settings import settings
print settings.get('server', '')

View file

@ -4,7 +4,7 @@ from setuptools import setup
setup(
name='SWSCloudNode',
version='3.1.5',
version='3.1.6',
author='Vyacheslav Anzhiganov',
author_email='vanzhiganov@ya.ru',
packages=[