исправление ошибки при создании виртуального сервера

This commit is contained in:
Vyacheslav Anzhiganov 2016-06-02 04:01:56 +03:00
parent 4a80c5f311
commit 1f3d15794d
2 changed files with 2 additions and 2 deletions

View file

@ -140,7 +140,7 @@ class QEMU:
# os.popen("cp /etc/vmbuilder/libvirt/* /tmp/libvirt/%s/templates/libvirt" % hostname)
# os.popen("cp vm/firstboot.sh /var/lib/qemu/images/%s/boot.sh" % hostname, "r")
os.popen("cp vm/firstboot.sh /tmp/libvirt/%s/boot.sh" % hostname, "r")
os.popen("cp /etc/sws/cloud/firstboot.sh /tmp/libvirt/%s/boot.sh" % hostname, "r")
return True

View file

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