diff --git a/SWSCloudNode/qemu/__init__.py b/SWSCloudNode/qemu/__init__.py index 7e85003..97de936 100644 --- a/SWSCloudNode/qemu/__init__.py +++ b/SWSCloudNode/qemu/__init__.py @@ -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 diff --git a/setup.py b/setup.py index 218521a..4fb8168 100644 --- a/setup.py +++ b/setup.py @@ -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=[