исправление ошибки при создании виртуального сервера
This commit is contained in:
parent
4a80c5f311
commit
1f3d15794d
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
2
setup.py
2
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=[
|
||||
|
|
Loading…
Add table
Reference in a new issue